Recursively find files and move them to another directory

Mar 14 2014 4:00 PM MAR 14 2014 4:00 PM
Find files and move them to another directoryUnix | Ubuntu | Linux | Terminal

I had some software that made individual directories for each day of the month a picture was in... Needless to say that was annoying. So I needed to pull them out and place them into one directory...

find /path/to/files/ -iname "*.jpg" -type f -exec mv {} /path/to/where/you/want/them ;

Tweets

Social Media

Categories