![]() |
|
No such thing as a small change | |
PerlMonks |
Re^3: Perl Renameby BrowserUk (Patriarch) |
on Jul 03, 2010 at 11:49 UTC ( [id://847891]=note: print w/replies, xml ) | Need Help?? |
Works for me if I invoke like this:
Of course, that requires I supply the names of the files to be renamed because cmd.exe doesn't expand wildcards for you. If you want that to happen, you'll have to modify the script a little:
Then rnm "s/Blah Blah - \d{2} - //" *.txt works. Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|