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

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

Re: How to rename files to numbers in Eshell?


From: Felix E. Klee
Subject: Re: How to rename files to numbers in Eshell?
Date: Tue, 14 Sep 2021 17:48:02 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

Jean Louis <bugs@gnu.support> writes:
> Will it work on marked files?

Never had that use case, but interesting question.  I tried:

    ^\*\(.*\)[^ ]+jpg → \1\,(1+ \#).jpg

However, that doesn’t work because the part before the file name is not
editable:

    Replaced 0 occurrences (skipped 3 read-only)

I had three files selected.




reply via email to

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