Error with paths with ()'s

@lbutlr
Mon, 17 Aug 2015 12:46:06 -0000

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