开发者

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 \;
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜