From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sebastian Tennant Newsgroups: gmane.emacs.help Subject: Re: Easy way to rename files sequentially? Date: Tue, 27 Nov 2007 17:20:22 +0200 Message-ID: <874pf7n2a1.fsf@moley.moleskin.org> References: <87ejeexgfy.fsf@celephais.home.net> <871waeroap.fsf@newsguy.com> <8763zpwje7.fsf@newsguy.com> <87y7cl6uka.fsf@localhorst.mine.nu> <87ve7ox53v.fsf@newsguy.com> <87lk8ku5uz.fsf@thievol.homelinux.org> <87bq9gnp31.fsf@moley.moleskin.org> <87ve7npvo8.fsf@thievol.homelinux.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1196176878 29654 80.91.229.12 (27 Nov 2007 15:21:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Nov 2007 15:21:18 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Thierry Volpiatto Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 27 16:21:25 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 1Ix2FO-0006vg-Is for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Nov 2007 16:21:14 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ix2F9-0004X8-2C for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Nov 2007 10:20:59 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ix2Er-0004Wv-U3 for help-gnu-emacs@gnu.org; Tue, 27 Nov 2007 10:20:41 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ix2Eq-0004WJ-0l for help-gnu-emacs@gnu.org; Tue, 27 Nov 2007 10:20:41 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ix2Ep-0004WE-RV for help-gnu-emacs@gnu.org; Tue, 27 Nov 2007 10:20:39 -0500 Original-Received: from mail.ttnet.net.tr ([212.175.13.129] helo=fep03.ttnet.net.tr) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ix2Ep-0003Lw-Df for help-gnu-emacs@gnu.org; Tue, 27 Nov 2007 10:20:39 -0500 Original-Received: from (unknown) by AVGW-I-4.ttnet.net.tr with smtp id 4f61_49ffd73a_9cfc_11dc_b68c_001422175f2f; Tue, 27 Nov 2007 17:20:32 +0200 Original-Received: from moley.moleskin.org ([85.105.17.65]) by fep03.ttnet.net.tr with ESMTP id <20071127152024.DMIM1193.fep03.ttnet.net.tr@moley.moleskin.org>; Tue, 27 Nov 2007 17:20:24 +0200 Original-Received: from (unknown [85.105.17.65]) by AVGW-I-4.ttnet.net.tr with smtp id 4e62_45fb6960_9cfc_11dc_b1f3_001422175f2f; Tue, 27 Nov 2007 17:20:23 +0200 In-Reply-To: <87ve7npvo8.fsf@thievol.homelinux.org> (Thierry Volpiatto's message of "Tue, 27 Nov 2007 16:14:47 +0100") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux) X-NAI-Spam-Rules: 1 Rules triggered HAS_X_HELO=0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:49584 Archived-At: Quoth Thierry Volpiatto : > Sebastian Tennant writes: > >> Quoth Thierry Volpiatto : >>> I would like to do some thing like that: >>> >>> (shell-command "~/bin/serialrename.py -d dir -e txt")) >> >> I believe what you want can be achieved like this: >> >> (shell-command (format "~/bin/serialrename.py -d %s -e txt" dir)) >> > Thank you again, i did that, it work fine :) Pleased to be able to help :-)