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: Xah Lee
Subject: Re: Easy way to rename files sequentially?
Date: Sun, 25 Nov 2007 13:19:01 -0800 (PST)
User-agent: G2/1.0

See:

* Rename Files by a Text Pattern
http://xahlee.org/emacs/rename_file_pattern.html

summary:
Alt+x dired
Alt+x dired-do-rename-regexp

if this does not satisfy your creating sequencial numbers for file
names... write back more pls and i'll try to help. (or the group)

  Xah
  xah@xahlee.org
\xAD\xF4 http://xahlee.org/

On Nov 25, 11:39 am, cothrige <cothr...@yahoo.com> wrote:
> I sometimes have a list of files which I would like to rename both in a
> group and in sequence.  In the past, for very long lists of files with a
> number in the name, e.g. "some random audio file ep 01 of 200.mp3", I
> would use thunar as it will very easily and automatically add a
> sequential number to the front of the names, resulting in 01-xxx.mp3 and
> so on.  Of course, there are many reasons I would rather not have to use
> thunar, and would prefer to be able to do it from within emacs.  I have
> managed to do this a few times using wdired and a keyboard macro, and
> this really isn't too bad.  But it seems there must be a better way to
> rename a list of files and sequentially number them.  Is there some
> relatively easy way to add such a numerical prefix to a list of files?
>
> Patrick



reply via email to

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