Anders Norrbring wrote:
I'm looking for shell help..
I have a directory with thousands of files named in the format 'file_XX_YY.txt' where XX would represent 2 characters and/or digits and YY is numbers from 00 to 99.

What I want to do is to move all files named 'file_XX*' to directories named as 'file_XX'.

Any suggestions for a command line or script doing just that?

get also a look at "mmv" RTFM necessary, but powerfull

jdd

--
http://www.dodin.net
Lucien Dodin, inventeur
http://lucien.dodin.net/index.shtml
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to