Rsync Issues with include/exclude command on MAC
I have folders & subfolders organized by date in the name containing files .jpg and .arw. I want to keep the same folder structure but move the JPG files to a copy of the folder structure AND delete them out of the source directory.
I was working on something like this that I could run in the terminal screen:
rsync -am --include="*/" --include=“*.jpg” --exclude=“*” /Users/adam/test\ 1/ /Users/Adam/test2/
But in my testing it's copying both the .jpg and .arw file to test2. Why is it moving the ARW file?
Thanks for your help!
1 Answers Rsync Issues with include/exclude command on MAC
Incorrect quotes used due to copy and paste.