From 4b976b0e020ea5b6b2f2ffe884048f9785c5b2c5 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Tue, 10 Jan 2017 15:13:49 -0500 Subject: [PATCH] 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). --- scripts/core/common.alias | 1 + 1 file changed, 1 insertion(+) 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' -- 2.34.1