18.13 One More Way to Do ItI couldn't resist throwing my hat into this ring. I can imagine an unsophisticated user who might not trust himself to replace one pattern with another, but doesn't want to repeat a long list of mv commands. Here's a simple script (1.5 ) that takes a list of filenames (perhaps provided by wildcards) as input, and prompts the user for a new name for each file:
For example:
This script is so simple, it's not included on the disc. I just thought I'd throw it in to demonstrate that there's more than one way to do it, even if you aren't using Perl (18.10 ) . - |
|