On Sun, Oct 30, 2005 at 10:55:45AM -0800, 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.
>
>Where can I get something like that?

try man rename,

        rename [ -v ] perlexpr [ files ]

it's probably installed.

// George


-- 
George Georgalis, systems architect, administrator <IXOYE><
http://galis.org/ cell:646-331-2027 mailto:[EMAIL PROTECTED]


-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to