unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Copying/Moving a set of files whose filenames match a regular expression
@ 2007-04-24 10:50 Nordlöw
  2007-04-24 12:39 ` Matthew Flaschen
  0 siblings, 1 reply; 2+ messages in thread
From: Nordlöw @ 2007-04-24 10:50 UTC (permalink / raw)
  To: help-gnu-emacs

Hey again, Emacs Lovers.

How do I copy/move a set of files matching a regular expression from
one directory to another? It seems like copy/move-file() takes only
one file at a time.


Thanks in advance,
Per Nordlöw

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

* Re: Copying/Moving a set of files whose filenames match a regular expression
  2007-04-24 10:50 Copying/Moving a set of files whose filenames match a regular expression Nordlöw
@ 2007-04-24 12:39 ` Matthew Flaschen
  0 siblings, 0 replies; 2+ messages in thread
From: Matthew Flaschen @ 2007-04-24 12:39 UTC (permalink / raw)
  To: emacs

Nordlöw wrote:
> Hey again, Emacs Lovers.
> 
> How do I copy/move a set of files matching a regular expression from
> one directory to another? It seems like copy/move-file() takes only
> one file at a time.

It looks like you want dired-do-rename-regexp .

You have to mark the files before operating, and since you're moving
between directories you'll have to use absolute paths.

Matt Flaschen

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

end of thread, other threads:[~2007-04-24 12:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-24 10:50 Copying/Moving a set of files whose filenames match a regular expression Nordlöw
2007-04-24 12:39 ` Matthew Flaschen

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).