help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Easy way to rename files sequentially?


From: Joel J. Adamson
Subject: Re: Easy way to rename files sequentially?
Date: Tue, 27 Nov 2007 15:12:12 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

reader@newsguy.com writes:

> Eli Zaretskii <eliz@gnu.org> writes:
>
>> You should be able to use the \, construct to invoke `format' or some
>> similar function and advance the counter.  See the example in
>
> Thats not available in dired either is it?

M-x wdired-change-to-wdired-mode

and then you can edit filenames freely as you would edit a file,
i.e. you can use any of the search and replace functions.  To rename
files sequentially, as long as they are in the order you expect them to
be, you can use a regex with "\#" which represents the number of
substitutions.

Joel

-- 
Joel J. Adamson
Biostatistician
Pediatric Psychopharmacology Research Unit
Massachusetts General Hospital
Boston, MA  02114
(617) 643-1432
(303) 880-3109


reply via email to

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