From: Chris Koeritz Date: Tue, 10 Jan 2017 20:13:49 +0000 (-0500) Subject: new alias netpush X-Git-Tag: 2.140.90~274 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=4b976b0e020ea5b6b2f2ffe884048f9785c5b2c5;p=feisty_meow.git new alias netpush got tired of typing the same old parameters to rsync, or sometimes still accidentally calling rcp instead, so now have an alias called 'netpush' that just does an 'rsync -avz' to move files or folders to remote (or local) targets. remember to use the syntax for the destination with the hostname, colon, and path. for example: netpush myfile surya:. (copies myfile to the machine surya in the home directory of the user). --- diff --git a/scripts/core/common.alias b/scripts/core/common.alias index a830e601..2df8a2c5 100644 --- a/scripts/core/common.alias +++ b/scripts/core/common.alias @@ -47,6 +47,7 @@ define_yeti_alias lsd='ls -hl' define_yeti_alias md='mkdir' define_yeti_alias move='mv -i -v ' define_yeti_alias mv='\mv -i -v ' +define_yeti_alias netpush='rsync -avz' define_yeti_alias notepad='gedit' define_yeti_alias pwd="/bin/pwd|sed -e 's/^\/home\/$USER/~/'" define_yeti_alias rd='perl $FEISTY_MEOW_SCRIPTS/files/zapdirs.pl'