Error with paths with ()'s

@lbutlr kremels at kreme.com
Mon Aug 17 12:46:06 UTC 2015


On Aug 17, 2015, at 4:05 AM, Kevin Korb <kmk at sanitarium.net> wrote:
> If you want find to generate your list use --files-from:
> 
> find . -type f -atime -1 -print0 | rsync -aP --files-from=- --from0 .
> 10.0.0.11:/Volumes/Drive5/

This works:

find . -type f -atime -1 -exec rsync -aP {} /Drive5/{}

This fails if there are ()’s in the file name.

find . -type f -atime -1 -exec rsync -aP {} 10.0.0.11:/Drive5/{}


-- 
I WILL NOT ENCOURAGE OTHERS TO FLY Bart chalkboard Ep. 7F03




More information about the rsync mailing list