in reply to Mass File Renaming

You should post the code you have tried and describe the precise error message you got when you ran it.

For some general solutions to renaming files, see Larry's famous rename script and Unix rename faq (a version of Larry's script is given at the end). It's also discussed in Perl Cookbook, recipe 9.9.

Replies are listed 'Best First'.
Re^2: Mass File Renaming
by Aristotle (Chancellor) on Nov 07, 2005 at 14:58 UTC

    See also rename 0.3 - now with two extra cupholders, my personal big overhaul of that script.

    Which reminds me I need to clean up the current, much further developed version and post it sometime…

    Makeshifts last the longest.

Re^2: Mass File Renaming
by sauoq (Abbot) on Nov 07, 2005 at 15:04 UTC

    Update: Err... this is an old node... I got confused by Mass file renaming. It looks like someone posted under this node than started a new thread with the same title. Blah...

    I'm not sure TimToady's script (or Aristotle's version which I like and use quite a lot) is the right solution in this case given that the OP claimed he was extracting info from the file itself.

    -sauoq
    "My two cents aren't worth a dime.";