|
rsync to copy specific files
Hi friends!
I'm trying to copy all my jpg files to another folder.
I'm using the following instruction:
rsync -r -n -t -v --progress --ignore-existing --include=*.jpg --exclude * /Users/me/Documents/ /Users/me/Desktop/
The problem is that it is copying the pictures in the "root" folder, it does not search and copy the recursive folders. There are several directories below the original folder.
-r is supposed to make the search recursive, but I can't find what is missing.
Thanks in advance!
|