empty quotes for rsync parameter
wolf_volpi at yahoo.com
Sun Oct 11 01:37:08 MDT 2009
Why does inserting an empty quote ("") into a rsync command cause the current directory to be backed up?
Not sure if this is a UNIX-syntax question or rsync-syntax question.
echo "\nspace between quotes has no effect; only music is backed up:"
rsync -ilrtn " " /home/wolf/music /backups/backup1
echo "\nempty quotes backs up current directory and music:"
rsync -ilrtn "" /home/wolf/music /backups/backup1
More information about the rsync