On 05/30/2011 08:17 PM, Binand Sethumadhavan wrote:
2011/5/30 Rony gnulinuxist@gmail.com:
The files are scattered and have extensions that tell their type, like mp3, avi etc. What I want is a media browser that can dig through my directories and sub directories and show files in folders like music, video etc. Basically it will be an advanced search and sort utility.
mkdir /music find $HOME -name '*.mp3' -print0 | xargs -0 mv -t /music
and similarly for video etc.
I was just going to write that. I used
find . -name *.mp3 -exec mv '{}' Media/Music/ \ ;