[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/0.9.8.1pl1 (Debian) |
On 2007-11-25, Peter Dyballa <Peter_Dyballa@Web.DE> 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.
Patrick
- Re: Easy way to rename files sequentially?, (continued)
- Re: Easy way to rename files sequentially?, reader, 2007/11/25
- Re: Easy way to rename files sequentially?, Peter Dyballa, 2007/11/25
- Re: Easy way to rename files sequentially?, reader, 2007/11/25
- Re: Easy way to rename files sequentially?, Peter Dyballa, 2007/11/26
- Re: Easy way to rename files sequentially?, reader, 2007/11/26
- Re: Easy way to rename files sequentially?, Peter Dyballa, 2007/11/26
- Re: Easy way to rename files sequentially?, reader, 2007/11/27
Re: Easy way to rename files sequentially?, Peter Dyballa, 2007/11/25
Re: Easy way to rename files sequentially?, Bastien, 2007/11/25
Message not available
- Re: Easy way to rename files sequentially?,
cothrige <=
Message not available