[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to rename files to numbers in Eshell?
From: |
Michael Heerdegen |
Subject: |
Re: How to rename files to numbers in Eshell? |
Date: |
Fri, 17 Sep 2021 00:37:23 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
"Felix E. Klee" <felix.klee@inka.de> writes:
> 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.
One working method is: limit the buffer to the marked files, e.g. with t
(`dired-toggle-marks') and k (`dired-do-kill-lines'). g
(`revert-buffer') to get the killed lines back when done. k only
affects display, it doesn't perform any file operation.
Some third party packages allow to display marked files in a fresh dired
buffer.
Michael.
- Re: How to rename files to numbers in Eshell?, (continued)
- Re: How to rename files to numbers in Eshell?, Felix E. Klee, 2021/09/12
- Re: How to rename files to numbers in Eshell?, Jean Louis, 2021/09/12
- Re: How to rename files to numbers in Eshell?, Jean Louis, 2021/09/13
- Re: How to rename files to numbers in Eshell?, tomas, 2021/09/13
- Re: How to rename files to numbers in Eshell?, Felix E. Klee, 2021/09/14
- Re: How to rename files to numbers in Eshell?, Jean Louis, 2021/09/14
- Re: How to rename files to numbers in Eshell?, tomas, 2021/09/14
- Re: How to rename files to numbers in Eshell?, Felix E. Klee, 2021/09/14
- Re: How to rename files to numbers in Eshell?, Jean Louis, 2021/09/14
- Re: How to rename files to numbers in Eshell?, Felix E. Klee, 2021/09/14
- Re: How to rename files to numbers in Eshell?,
Michael Heerdegen <=
- Re: How to rename files to numbers in Eshell?, Michael Heerdegen, 2021/09/16
- Re: How to rename files to numbers in Eshell?, Felix E. Klee, 2021/09/17
- Re: How to rename files to numbers in Eshell?, Emanuel Berg, 2021/09/24
- Re: How to rename files to numbers in Eshell?, Jean Louis, 2021/09/25
- Re: How to rename files to numbers in Eshell?, Emanuel Berg, 2021/09/25
- Re: How to rename files to numbers in Eshell?, Felix E. Klee, 2021/09/30
- Re: How to rename files to numbers in Eshell?, Jean Louis, 2021/09/30
- Re: How to rename files to numbers in Eshell?, Emanuel Berg, 2021/09/30
- Re: How to rename files to numbers in Eshell?, Felix E. Klee, 2021/09/30
- Re: How to rename files to numbers in Eshell?, Emanuel Berg, 2021/09/30