From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Charles L. Snyder" Newsgroups: gmane.emacs.help Subject: recursively move types of files Date: Wed, 14 May 2008 17:22:38 -0700 (PDT) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1210812049 3749 80.91.229.12 (15 May 2008 00:40:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 15 May 2008 00:40:49 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 15 02:41:25 2008 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 1JwRXA-0003sf-8U for geh-help-gnu-emacs@m.gmane.org; Thu, 15 May 2008 02:41:24 +0200 Original-Received: from localhost ([127.0.0.1]:53154 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JwRWQ-0007R1-Sh for geh-help-gnu-emacs@m.gmane.org; Wed, 14 May 2008 20:40:38 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!m73g2000hsh.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 37 Original-NNTP-Posting-Host: 76.92.220.197 Original-X-Trace: posting.google.com 1210810958 27853 127.0.0.1 (15 May 2008 00:22:38 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 15 May 2008 00:22:38 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: m73g2000hsh.googlegroups.com; posting-host=76.92.220.197; posting-account=nuw_RwoAAABRNCSC_kXlGDATAYnwgc4C User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:158628 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:53995 Archived-At: Hi I have 2 separate but file management - related questions (emacs 22.2.1, mac leopard system): 1. I want to move all .pdb files from a folder (and all its subfolders): /Users/cls/ebooks to another folder: /Users/cls/pdb_files I can find all the files with Alt-x find-dired RET ~/ebooks RET -name "*.pdb" RET but how do I mark and move the files within emacs? 2. I have a huge number of files named like this "Report_work_01232008_blah.pdf", and I want to replace all the "_" with " " ie., "Report work 01232008 blah.pdf" Some files have one underscore, some have many more. When I Crtl-x d to the folder, and mark all files containing (% g RET _ ) an underscore, there are several problems: - it doesn't search and mark files in the the subdirectories / nested folders - only the first underscored in the filename is changed, not all of them (how do I fix the regex for "_") - I sometimes get a 'maximum buffer size exceeded'. Thanks in advance cls