Error with paths with ()'s

@lbutlr kremels at
Mon Aug 17 06:13:47 UTC 2015

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) [sender=3.1.1]

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?"

More information about the rsync mailing list