12 Mar
2007
12 Mar
'07
16:31
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: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org