Todd Walton wrote:
Without personally writing a whole script to handle it, how can I
intelligently rename masses of files? In ACDSee, an image viewing
program for Windows, they had this cool feature where you could select
a bunch of files and then hit F2 (rename) and it would let you plug in
a reverse regular expression of sorts. Like, if I have a bunch of
files named bob.txt, cracker.txt, 92.s.txt, jjjjj.text, and so on, I
could rename them to "document-##.txt". Then bob.txt would become
document-01.txt, cracker.txt would become document-02.txt and so on.
It handled incrementing the number to be applied. There was also
provision for reusing the already existing name in the new name. So
on.
Since a couple of posts have already mailed in the scripts to do
something similar, I'll just add that, no there (prolly) isn't
"something like that without personally writing a script to handle it"
It's usually easier (if you're not script-writing inclined) to post such
a request to the list and get someone else to bash (pun not intended)
one out (just so long as it's not homework for CS 101 - then you should
be doing it yourself !)
--
Michael O'Keefe | [EMAIL PROTECTED]
Live on and Ride a 03 BMW F650GSDakar| [EMAIL PROTECTED] / |
I like less more or less less than |Work:+1 858 845 3514 / |
more. UNIX-live it,love it,fork() it |Fax :+1 858 845 2652 /_p_|
My views are MINE ALONE, blah, blah, |Home:+1 760 788 1296 \`O'|
blah, yackety yack - don't come back |Fax :+1 858 _/_\|_,
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list