unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Changing file names with "--" to "-"
@ 2021-02-21  3:06 wael-zwaiter
  2021-02-21  3:33 ` Emanuel Berg via Users list for the GNU Emacs text editor
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: wael-zwaiter @ 2021-02-21  3:06 UTC (permalink / raw)
  To: Help Gnu Emacs


I have a lot of files and want to change "--" to "-".

Am using

rename 's/--/-/g' *

on the current directory.

How can I recursively go through all sub directories and do the
changes for files only.




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-02-22  6:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-21  3:06 Changing file names with "--" to "-" wael-zwaiter
2021-02-21  3:33 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-02-21  6:45 ` Changing file names with "--" to "-" recursively Jean Louis
2021-02-21  7:46   ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-02-21 12:42     ` Jean Louis
2021-02-21 13:41   ` ken
2021-02-22  6:36   ` David Masterson
2021-02-22  4:42 ` Changing file names with "--" to "-" Robert Thorpe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).