Results 1 to 4 of 4
Hello all,
I am no scripting guru, but I think this is a simple command?
I would like to perform a search of a directory and all it's sub directories ...
- 01-06-2010 #1
Simple script needed, find all fily type, move to dir?
Hello all,
I am no scripting guru, but I think this is a simple command?
I would like to perform a search of a directory and all it's sub directories for a certain file type, then mv all the files to a single directory.
Basically I have a DJ rig with tons of duplicate mp3's, I would like to move them all to one directory so I can then clean up and sort back out.
- 01-06-2010 #2Linux Guru
- Join Date
- Nov 2007
- Posts
- 1,695
Find Command
Code:-exec mv {} /some_new_folder
- 01-06-2010 #3
- 01-07-2010 #4
find command has an option (-f) to specify the file type.
Checkman find- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------


Reply With Quote