Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Mar 2005 08:15:43 +0100
From:      Uwe Doering <gemini@geminix.org>
To:        Phusion <phusion2k@gmail.com>
Cc:        questions@freebsd.org
Subject:   Re: Help Renaming Multple Files
Message-ID:  <422D511F.4050809@geminix.org>
In-Reply-To: <c3ed3fdc050307083572c03627@mail.gmail.com>
References:  <c3ed3fdc050307083572c03627@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Phusion wrote:
> I need help figuring out how to rename multple files. The files are
> named like reports_abcdef_YYYYMMDD.dat, reports_hijklm_YYYYMMDD.dat,
> and reports_nopqrs_YYYYMMDD.dat. Here is an example.
> 
> Original Filename: reports_abcdef_YYYYMMDD.dat
> New Filename: abcdef_YYYYMMDD.dat
> 
> Let me know how I can do this. Thanks.

You may want to take a look at the 'mmv' package (ports/misc/mmv).

    Uwe
-- 
Uwe Doering         |  EscapeBox - Managed On-Demand UNIX Servers
gemini@geminix.org  |  http://www.escapebox.net



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