Skip site navigation (1)Skip section navigation (2)
Date:      10 Jan 2001 14:35:01 +0100
From:      Dmitry Karasik <dk@plab.ku.dk>
To:        freebsd-questions@freebsd.org
Subject:   Re: A simple shell question, How do i rename multiple files?
Message-ID:  <uy9wjr0my.fsf@plab.ku.dk>
In-Reply-To: Tim Ayers's message of "09 Jan 2001 15:15:32 -0600"
References:  <003101c07a95$b24117a0$46010a0a@sysadmininc.com> <k884bf63.fsf@tim.bridge.com>

next in thread | previous in thread | raw e-mail | index | archive | help
	Hi Tim!

On 09 Jan 01 at 15:15, "Tim" (Tim Ayers) wrote:

 Tim> This is a surprisingly hard thing to do in UNIX. I don't think
 Tim> there's a way to do it with 'mv'. Here's how to do it with a Perl
 Tim> one-liner .

There's a good tool pfind ( dunno if it's in ports); it's invocation will
be like 
pfind . 's/xxx$/yyy/' 

-- 
Sincerely,
	Dmitry

--- www.karasik.eu.org ---



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?uy9wjr0my.fsf>