Mar 8
Having spaces in filenames is, in general, reprehensible. However, if you’re dealing with something like an iPhoto Library, it’s not up to you. To deal with this in rsync, note the following, from this page.
# Copy three separate files on host to tmp. rsync -av host:'file1 file2 file3' /tmp/ # Copy one file from host to tmp. ? matches any character. rsync -av host:a?long?filename /tmp/ rsync -av host:'"a long filename"' /tmp/ rsync -av host:'a\ long\ filename' /tmp/ rsync -av host:a\\\ long\\\ filename /tmp/