You need to specify exactly what transformation you want to make on the file names. Write that as a sub,
Then rename your files with something like this,sub name_transform { my ($oldname, $newname) = shift; $newname = ;# whatever return $newname; }
for (glob '/path/to/222*') { rename $_, name_transform($_); }
After Compline,
Zaxo
In reply to Re: Mass file renaming
by Zaxo
in thread Mass file renaming
by kurisk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |