Move all .jpeg from directory structure into one folder on Mac OS X
Recently my iPhoto database got all screwed up and I need to extract all of the originals from a folder structure to a central folder on the desktop. Instead of going one by one through all of the folders, I wo开发者_StackOverflow社区uld like to move all of them through a bash command or script. Any suggestions.
I looked into rsync but I think that only takes the folders structure.
find /path/to/original/folder -type f -name "*.jpg" -exec mv {} /path/to/new/folder \;
精彩评论