* dired renaming files: replacing mutliple whitespaces with underscores
@ 2007-04-30 10:27 Patrick Drechsler
2007-04-30 11:16 ` Thien-Thi Nguyen
0 siblings, 1 reply; 3+ messages in thread
From: Patrick Drechsler @ 2007-04-30 10:27 UTC (permalink / raw)
To: help-gnu-emacs
Hi,
could somebody point me in the right direction on replacing multiple
whitespaces in filenames with underscores using dired?
% m \(.*[ ].*\)+\..+ RET ; mark all files with spaces
% R [ ] RET _ RET ; replace space with underscore
The drawback is that one has to repeat this many times for file names
wich have multiple whitespaces.
Is there better way of doing this with dired (or dired-x, dired+)?
TIA
Patrick
BTW: I'm using Emacs23 from CVS.
--
Snoopy: My life has no purpose. My life has no direction, no aim, no
meaning. And yet I'm happy. I can't figure it out! What am I doing
right?
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-04-30 11:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-30 10:27 dired renaming files: replacing mutliple whitespaces with underscores Patrick Drechsler
2007-04-30 11:16 ` Thien-Thi Nguyen
2007-04-30 11:55 ` Patrick Drechsler
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.