in reply to Re^4: Problem with renaming files in directory
in thread Problem with renaming files in directory
So what should I do solve this double-digit filename issue ?:)You already know how to grab the digits using a regex. Now you need to create an array of filenames and sort them numerically:
perldoc -q sort
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Problem with renaming files in directory
by ice_ice_ice (Initiate) on Jan 03, 2012 at 21:59 UTC |