I was trying to process a bunch of folders to sync them to another drive and 
ran across an error I haven’t seen before. Normally I do this sync via a 
mounted file system, but this time I tried to do it over ssh:

find . -type f -atime -1 -exec rsync -aP {}{} \;
bash: -c: line 0: syntax error near unexpected token `('
bash: -c: line 0: `rsync --server -logDtpre.iLsfx --log-format=X --partial . 
/Volumes/Drive5/./Taxes (2012)/W2 (2012).pdf'
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(226) 

If I mount Drive5 and run the same command, it works fine.

Put "/Volumes/Drive5/{}” in quotes doesn’t help.


Why can't you be in a good mood? How hard is it to decide to be in a
good mood and be in a good mood once in a while?"

Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to