[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Easy way to rename files sequentially?

From: cothrige
Subject: Re: Easy way to rename files sequentially?
Date: Wed, 28 Nov 2007 03:36:06 GMT
User-agent: slrn/ (Debian)

On 2007-11-25, Peter Dyballa <address@hidden> wrote:
> Does this example from the info pages, Regexp Replacement, help?
>      For example, to add consecutively numbered strings like `ABC00042'
>      to columns 73 to 80 (unless they are already occupied), you can use
>           M-x replace-regexp <RET> ^.\{0,72\}$ <RET>
>           \,(format "%-72sABC%05d" \& \#) <RET>

Hmmm, this is quite interesting looking.  I will have to try this next
time.  If I can get that to work then it sounds like just what I am
looking for.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]