[Pdx-pm] command line question
Andrew Savige
ajsavige at yahoo.com.au
Mon Jul 12 22:33:17 CDT 2004
Thomas J Keller wrote:
> This seems like one of those easy things easier ...things
> I want to rename all the files in a directory substituting an
> underscore for any spaces in the filename. I can write a program using
> IO::Dir, But it seems like that should be doable from the command line.
Larry's rename command also gets a mention here:
http://www.faqs.org/faqs/unix-faq/faq/part2/
in answer to the question:
2.6) How do I rename "*.foo" to "*.bar", or change file names to lowercase?
(And is also discussed in Perl Cookbook, Recipe 9.9 "Renaming Files").
/-\
Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com
More information about the Pdx-pm-list
mailing list