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: Easy way to rename files sequentially? Date: Tue, 27 Nov 2007 08:18:32 +0100 Message-ID: <878x4kjgvr.fsf@thievol.homelinux.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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1196147849 32033 80.91.229.12 (27 Nov 2007 07:17:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Nov 2007 07:17:29 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Sebastian Tennant Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 27 08:17:37 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 1IwuhK-0002SU-Sj for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Nov 2007 08:17:35 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iwuh5-0003z0-Aq for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Nov 2007 02:17:19 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Iwugm-0003yW-NQ for help-gnu-emacs@gnu.org; Tue, 27 Nov 2007 02:17:00 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Iwugl-0003x4-7Q for help-gnu-emacs@gnu.org; Tue, 27 Nov 2007 02:16:59 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iwugl-0003wv-2t for help-gnu-emacs@gnu.org; Tue, 27 Nov 2007 02:16:59 -0500 Original-Received: from hu-out-0506.google.com ([72.14.214.239]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Iwugk-0007l0-Fa for help-gnu-emacs@gnu.org; Tue, 27 Nov 2007 02:16:58 -0500 Original-Received: by hu-out-0506.google.com with SMTP id 23so951166huc for ; Mon, 26 Nov 2007 23:16:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:to:cc:subject:references:face:date:in-reply-to:message-id:user-agent:mime-version:content-type:from; bh=oFhTJIimC2L7IePnJAjLl0bo+hUUgrX56rXqUu/Syxw=; b=mwcHn62cCckoUBVlTffqTatw4zswLa/qEpwvqLKmgijUUnaebjunelU+hc8ohHs0jIZOJkJqR7/NQFZXQ86JAmLwr4f8XxGuLOq3va4Y9XzfV1DhnxLnj+xXCA7VlfmMzQMRTdEBGyVRz7rc/9qbqLRkMAu6fCkyzKVDOJ+S6W4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:to:cc:subject:references:face:date:in-reply-to:message-id:user-agent:mime-version:content-type:from; b=mvZ3um6L1bJP9VH213QDUvFD3EQ2+OqVr5mNWg3eGxm07G5FFSx3YloClopk+HjJgG52OU0T85+bh8E2pAb/SJu893Q7v172Wdtj1fVblCp2TF2Ujl97ruMWUE8lsB3oFOr4XYNhM8nV+ROHks+92uHd0q55VjoM1mX+LI9Q8jo= Original-Received: by 10.86.76.16 with SMTP id y16mr3561870fga.1196147816612; Mon, 26 Nov 2007 23:16:56 -0800 (PST) Original-Received: from thievol.homelinux.org ( [78.114.32.12]) by mx.google.com with ESMTPS id b36sm2886240ika.2007.11.26.23.16.54 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 26 Nov 2007 23:16:55 -0800 (PST) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUAAAD/eiojJC8HDgL9 q6CxcyAADQCPoKCbKDEHHjqGqpmkAAACZklEQVQ4jWVTwW7TQBAdZSSL61Jb8jFyVSXcth5inKPF RvSImwTtMSKSPwCoLG44xtKeyal/y9sN1G47x3meN7PvPdNZEzVNQzwTYhGtz8I6EnSJtUQHotni nWYSNA5ciFARkIK0Xvx8LBpmKRppDgyaI+YifLduf54bmpPkgQj0fp6Z1237XTTLyphtoanR4ktr Wv9p27kw7+xQ/WpI+LcxqcYOzhbtJ4x0tjNb0KxMUsdXOc7K2odsHvHK1upOSGLrXFdhZIZR84W4 BJBoKpVDxR9FBvSrnjnfd0ppulW+YuN2CYDNFu8fag90vm8HZSq1aX/sLS50ygO+n4qAVrk26+pU S+c7AehzKfvBnrLM2fi+BNNbodtKpXgudtus/VamXeU/3TKVddpDbxCc1o/nslr6fjKn4AEkI1Gn PJOhwjal7kPrUhKn17LcVbIKq8di3LWssU+cu6Zp3cQVtOg11GYINOEaIE3v/WQ9HeAPldr30TEk Y1rvoYnNF3O+ZOZpiCFm0gPwZh9IRrayUm5nHj4TFxgRfgJm0HQ/mHsfDSyZ7C9NEENk6YTlcbzq pg6WbSHezsp6BIYLcHej3D7ejKKsrPeyU8kN+ICPK4KVXZdmYTIdFYHzKlVpfwgpSMYdy770KdgW pUf6iVgS2DbIl0JWJoAuA3ttKifRREjNF6BLeqHjFIi+eiCxIs/8gKpHHx343fAzLGqOiA5iLi+c wj+ZIwcswZBJ+Zin7jqwPANY8h1+h+00U6HPOsdV5opelrDXwvTRK2C2dC/S+e/cN9bV6vQawA+R 1Fa/7vtXIAb/c/MXBLaluuFkJS8AAAAASUVORK5CYII= In-Reply-To: <87bq9gnp31.fsf@moley.moleskin.org> (Sebastian Tennant's message of "Tue\, 27 Nov 2007 09\:07\:46 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) 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:49568 Archived-At: 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)) > Yes that's it. (format) Thank you. -- A + Thierry