Hi,
This is a little file renaming library that ships with a really quite
useful command-line tool.
From the man page:
---8<---
...to rename all files matching *.bak to strip the extension, you might say
rename 's/\e.bak$//' *.bak
To translate uppercase names to lower, you'd use
rename 'y/A-Z/a-z/' *
--->8---
Notes:
* pkg/DESCR is authored by myself, since there wasn't a good overall
description on CPAN.
* It installs the tool under the rather generic name "rename". We might
consider renaming it (oh the irony) to "prename"?
Comments? OK?
--
Best Regards
Edd Barrett
http://www.theunixzoo.co.uk
No comments:
Post a Comment