in reply to convert whitespaces to underscores
Just a thought:
perl -e'($z = $_) =~ s/\s+/_/g, rename $_, $z or warn "$_: $!\n" for @ +ARGV' /some/directory/* /another/directory/* [download]
- Yes, I reinvent wheels. - Spam: Visit eurotraQ.