Add easy rsync wrapper for my poor memory
This commit is contained in:
parent
f2da865f30
commit
bb1e17b373
|
@ -0,0 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ ! "$#" = 2 ]; then
|
||||
echo "Usage: $0 [src-dir/] [dest-dir/]"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
rsync -avhcz -e ssh --stats --progress --delete --force "$1" "$2"
|
||||
|
Loading…
Reference in New Issue