Displaying 1 result from an estimated 1 matches for "lavz".
Did you mean:
avz
2008 May 08
0
suggestion for rsync syntax/quoting issue
...ist, but
it looks like non-subscribers can still post (if this gets bounced, I guess I
will know I was incorrect in that assessment!) ...
----
#!/bin/sh
HOST=machine1
MIRROR=machine2
SRCDIR=/path/to/data
DSTDIR=/backups/path/to/data
SSH='/usr/bin/ssh -c blowfish'
RSYNC='/usr/bin/rsync -Lavz'
$RSYNC -e "$SSH" $HOST:$SRCDIR $MIRROR:$DSTDIR
----
I'm sure you've probably solved it and moved on, but I wanted to pass this on
anyway in the hopes that it's useful (or at least interesting :)). You can
wrap other problematic arguments in the same way as $SSH above and...