empty quotes for rsync parameter

Wolfram Volpi 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

Thank you.


More information about the rsync mailing list