From owner-freebsd-questions Wed Jul 31 14:33:52 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F03AB37B400 for ; Wed, 31 Jul 2002 14:33:48 -0700 (PDT) Received: from roc-66-66-120-36.rochester.rr.com (roc-66-66-120-36.rochester.rr.com [66.66.120.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8AC4D43E65 for ; Wed, 31 Jul 2002 14:33:48 -0700 (PDT) (envelope-from vega@roc-66-66-120-36.rochester.rr.com) Received: by roc-66-66-120-36.rochester.rr.com (Postfix, from userid 1000) id 269F4901A1D; Wed, 31 Jul 2002 17:30:50 -0400 (EDT) Date: Wed, 31 Jul 2002 17:30:50 -0400 From: mpd To: Maciej Szewczyk Cc: questions@FreeBSD.ORG Subject: Re: files to files with .txt Message-ID: <20020731213050.GA82839@rochester.rr.com> References: <20020731230256.A19666@pirx.9lo.lublin.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020731230256.A19666@pirx.9lo.lublin.pl> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Jul 31, 2002 at 11:02:56PM +0200, Maciej Szewczyk wrote: > Hi, > I have about 1000 files. > ls -1 > 1 > 2 > 3 > 4 > 5 > 6 > 7 > ... > ... > 998 > 999 > 1000 > And now I must have 1000 files with .txt -> > ls -1 > 1.txt > 2.txt > 3.txt > ... > ... > 998.txt > 999.txt > 1000.txt > > How can I do that. > Tahnks for help. There's a port called mmv which is tailor made for things like this. It's located at /usr/ports/misc/mmv > > Maciej Szewczyk > mike -- ___________________________________________________________ "WE WERE LUCKY TO GET OUR GROCERIES BEFORE THEY ALSO CAUGHT ON FIRE!!!" - Little Girl from "THE GROCERY STORE IS ON FIRE" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message