Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jul 2002 17:30:50 -0400
From:      mpd <mpd@rochester.rr.com>
To:        Maciej Szewczyk <rodion@pirx.9lo.lublin.pl>
Cc:        questions@FreeBSD.ORG
Subject:   Re: files to files with .txt
Message-ID:  <20020731213050.GA82839@rochester.rr.com>
In-Reply-To: <20020731230256.A19666@pirx.9lo.lublin.pl>
References:  <20020731230256.A19666@pirx.9lo.lublin.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020731213050.GA82839>