From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.help Subject: Re: recursively move types of files Date: Thu, 15 May 2008 15:24:55 +0200 Message-ID: <873aojvgwo.fsf@thievol.homelinux.org> References: <87skwj69ww.fsf@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1210857817 2936 80.91.229.12 (15 May 2008 13:23:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 15 May 2008 13:23:37 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Sven Joachim Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 15 15:24:11 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 1JwdQ7-00030Y-IX for geh-help-gnu-emacs@m.gmane.org; Thu, 15 May 2008 15:22:55 +0200 Original-Received: from localhost ([127.0.0.1]:51744 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JwdPO-0001vX-2s for geh-help-gnu-emacs@m.gmane.org; Thu, 15 May 2008 09:22:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JwdOT-0001Gy-Ea for help-gnu-emacs@gnu.org; Thu, 15 May 2008 09:21:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JwdOR-0001ED-Pq for help-gnu-emacs@gnu.org; Thu, 15 May 2008 09:21:12 -0400 Original-Received: from [199.232.76.173] (port=52766 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JwdOR-0001E3-G8 for help-gnu-emacs@gnu.org; Thu, 15 May 2008 09:21:11 -0400 Original-Received: from mu-out-0910.google.com ([209.85.134.191]:37473) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JwdOR-0006ao-59 for help-gnu-emacs@gnu.org; Thu, 15 May 2008 09:21:11 -0400 Original-Received: by mu-out-0910.google.com with SMTP id i2so146306mue.6 for ; Thu, 15 May 2008 06:21:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references:date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=RnKOQfEylSR3SeY6GAGpYHy2M5t+zUcB/RTBNQ8qURs=; b=WrWBfPa6G4/d1/twtSypzL2cDQT7YhYQMOn6h1mODAse/U/YNI5AUV8rJVFgBp/5iJqJ5gor2kEJVMIM6Y5HcIHM2e6i/rVextJL2FEv2waPau9+1wuEd0b6DkGaZhzpLMMH9wNcjtUCgxJ+GEywjAcVGgjtWyVYat75q3Drwaw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id:user-agent:mime-version:content-type; b=Q6vclk1U7OOhlNkeOggN0ZbEPxBHv4xpZL18JKMQCcc+1Ni58pmCyqsT83KNn0n7PgsoBbj0ORRZcrBG5j3BV3VtQa8oOSY2/2M7KAiAVTcNdYAtKyx9gN5o8HyXBckICtcVAiZ6wv2uabPtsWcq7ejD8znfVSuU+I69pGPSaOA= Original-Received: by 10.125.73.17 with SMTP id a17mr1312663mkl.117.1210857669353; Thu, 15 May 2008 06:21:09 -0700 (PDT) Original-Received: from thievol.homelinux.org ( [77.197.77.13]) by mx.google.com with ESMTPS id 4sm3073827fge.5.2008.05.15.06.21.07 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 15 May 2008 06:21:08 -0700 (PDT) In-Reply-To: <87skwj69ww.fsf@gmx.de> (Sven Joachim's message of "Thu, 15 May 2008 14:15:11 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:54013 Archived-At: Sven Joachim writes: > On 2008-05-15 14:06 +0200, Peter Dyballa wrote: > >> Am 15.05.2008 um 02:22 schrieb Charles L. Snyder: >> >>> 2. I have a huge number of files named like this >>> "Report_work_01232008_blah.pdf", and I want to replace all the "_" >>> with " " >> >> >> It's probably better to do it outside dired-mode, in a *shell* buffer: > > Why that? I'd switch to wdired-mode and do a query-replace followed by > C-c C-c. No need to write a shell script. > > Sven > To serial rename files you can also use: http://www.emacswiki.org/cgi-bin/wiki/SerialRename (Not sure it will work with space, it's a long time i don't check this code) Tought it's a bad idea to name files ala losedows with spaces. -- A + Thierry Pub key: http://pgp.mit.edu