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 > ========================================================== > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.6 (GNU/Linux) > Comment: Para mais informa??es veja http://www.gnupg.org > > iEYEARECAAYFAjxSNdcACgkQqJymTCNNyXH+WwCaAi3EuKr/X/3KCglzfmRJ+Ziv > tLIAni7WhukNnqxhAZ3Ips6vv34tw5ZW > =5KpU > -----END PGP SIGNATURE----- > > > > Want to buy your Pack or Services from MandrakeSoft? > Go to http://www.mandrakestore.com -- Linux, cause i reboot less often than windows users reinstall... -- Moshe Kaminsky (Home) 08-9471073
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
