[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: filename manipulation



On Thu, Feb 17, 2005 at 11:16:27AM -0500, jeff elkins wrote:
> I need a shell script to strip X leading characters from a 
> filename. I'm using 
> basename to change extensions, any analog of this I could use?

There's a utility that comes with perl, called "rename".  It renames
files according to regular expression.  I've found it quite handy.

man rename
-- 
John M Flinchbaugh
john@hjsoft.com

Attachment: signature.asc
Description: Digital signature


Reply to: