all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.