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

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

Re: Changing file names with "--" to "-" recursively


From: Emanuel Berg
Subject: Re: Changing file names with "--" to "-" recursively
Date: Sun, 21 Feb 2021 08:46:54 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Jean Louis wrote:

> The command:
>
> $ rename 's/--/-/g' *
>
> does not work on my side as it works on yours, maybe it is
> different software.

Works here!

$ rename --version

  /bin/rename using File::Rename version 1.13,
  File::Rename::Options version 1.10

By Larry Wall, I read in rename(1p), from the "User
Contributed Perl Documentation". You gotta love it :)

-- 
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal




reply via email to

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