manishsingh4u |
05-20-2006 07:53 PM |
how to rename muliple files
Hello Friends,
I have used rename command many times with Fedora Core but, the same is not working with Ubuntu 5.10. suppose, if I wish to change all files with "dll" extension to "mp3", I could use
Code:
rename .dll .mp3 *.dll
But, this doesn't work with Ubuntu.
Code:
root@Manish:/var/www/fc# rename .dll .mp3 *.dll
syntax error at (eval 1) line 1, near "."
root@Manish:/var/www/fc#
OR
Code:
root@Manish:/var/www/fc# rename dll mp3 *.dll
Bareword "dll" not allowed while "strict subs" in use at (eval 1) line 1.
root@Manish:/var/www/fc#
So, how do I rename my files now?
|