catsquotl wrote:
T L Andrews wrote:
If you're in bash, the following would do what you want
for i in *; do mv $i `perl -e "print lc \$i"`; done
I tried your script ,but it gives the following messages after each file.
bash: perl-e print lc <filename> :command not found mv: missing file argument
As i don`t know annything about perl could you help me out please.
First of all, make sure you've got a space between the 'perl' and the '-e'. If you do, then this message could be caused by you not having perl installed. In this case you'll need to install it - it's in package 'perl', series 'a' (although since it's one of the base system packages, it should be installed by default...). Hope that helps, Chris -- __ _ -o)/ / (_)__ __ ____ __ Chris Reeves /\\ /__/ / _ \/ // /\ \/ / ICQ# 22219005 _\_v __/_/_//_/\_,_/ /_/\_\ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/