Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jan 2001 11:09:19 -0600
From:      Dan Nelson <dnelson@emsphone.com>
To:        Ana Romero <anar@ees2.oulu.fi>
Cc:        Questions FreeBSD <questions@FreeBSD.ORG>
Subject:   Re: fast answer is needed about commands
Message-ID:  <20010131110919.A21193@dan.emsphone.com>
In-Reply-To: <Pine.GSO.4.30.0101311419040.22753-100000@stekt56>; from "Ana Romero" on Wed Jan 31 14:24:21 GMT 2001
References:  <Pine.GSO.4.30.0101311419040.22753-100000@stekt56>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Jan 31), Ana Romero said:
> HI!!
> 
> I have many files named like XXX-new which I want to move to XXX. I
> mean,
> 
> mv  XXX-new  XXX
> 
> Can I do it in once in some way? I mean, I would like to do
> 
> mv  *-new   *

Install ports/misc/mmv, and run

mmv "*-new" "=1"

-- 
	Dan Nelson
	dnelson@emsphone.com


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?20010131110919.A21193>