From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: Copying a set of files whose filenames match a regular expression Date: Tue, 24 Apr 2007 21:54:45 +1000 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <87k5w2vvga.fsf@lion.rapttech.com.au> References: <1177411820.780297.161800@t39g2000prd.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1177418098 9778 80.91.229.12 (24 Apr 2007 12:34:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 24 Apr 2007 12:34:58 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 24 14:34:54 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HgKEP-0007Lv-Ds for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Apr 2007 14:34:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HgKJu-0004Lh-PT for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Apr 2007 08:40:34 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!t-online.de!feeder.news-service.com!138.199.65.86.MISMATCH!sn-xt-ams-06!sn-xt-ams-04!sn-post-ams-01!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux) Cancel-Lock: sha1:uAnnBLVZYlaUqMI9RgDAC/zzYQI= Original-X-Complaints-To: abuse@supernews.com Original-Lines: 16 Original-Xref: shelby.stanford.edu gnu.emacs.help:147470 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:43074 Archived-At: Nordlöw writes: > 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. > > dired provides this capability. You can move/copy files based on a regexp. Tim -- tcross (at) rapttech dot com dot au