Files
ports/sysutils/p5-File-Rename/pkg/DESCR
T
sthen f091bd2562 Update to p5-File-Rename-1.00, renaming the installed utility to prename
as seem common on other OS. From Charlene Wendling, ok edd@
2018-08-21 17:37:22 +00:00

13 lines
394 B
Plaintext

File::Rename is a Perl extension that accepts a list of files, passes
them through a subroutine, and renames them according to the output
of that function.
prename(1) is a command-line tool using this extension, allowing batch
changes like these to be made:
- strip the .bak extension of any *.bak files
prename 's/\.bak$//' *.bak
- translate uppercase names to lower
prename 'y/A-Z/a-z/' *