*why didn't i see this one before?*
or maybe you could use the KRename project which could be searched for in freshmeat.net ciao! On Tue, 29 Jan 2002 11:23:08 +0200 Moshe Kaminsky <[EMAIL PROTECTED]> revealed these words to me: > Hi, > > I think you will have to supply some more details for a meaningful > answer (like where do you find the names of these files) but if, for > instance, you have all the file names in a file, you could run sed/awk > on that file (to change, e.g., the line > processed21c45.wav > to > mv processed21c45.wav adi21c45.wav) > and then run the file that you get (source <filename>). If all your > files are in one directory, you could get that file using > ls -1 <dir> >| <filename> > (or do it all in one line, as in > ls -1 <dir> | sed ... >| <filename> > ) > > Moshe > > * Ricardo Castanho de O. Freitas <[EMAIL PROTECTED]> [020126 06:54]: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > I have hundreds of files to be renamed! > > > > for example processed21c45.wav to adi21c45.wav > > > > I've found how to use sed to change 'names' inside files, but no the file > > name itself. > > > > TIA > > > > Ricardo Castanho > > > > - -- > > delivery NOT reliable => [EMAIL PROTECTED] > > ========================================================== > > Linux user # 102240 => Machine # 96125 => Seti@home user > > ========================================================== -- "Programming, an artform that fights back." ============================= Anuerin G. Diaz Design Engineer Millennium Software, Incorporated 2305 B West Tower, Philippines Stocks Exchange Center, Exchange Road, Ortigas Center, Pasig City Tel# 638-3070 loc. 72 Fax# 638-3079 =============================
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com