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

Re: filename manipulation



On Thu, Feb 17, 2005 at 11:35:40AM -0500, John M Flinchbaugh wrote:
> 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

and of course, your script could be reduced to:
rename 's/.zzz$/.xxx/' *.zzz

-- 
John M Flinchbaugh
john@hjsoft.com

Attachment: signature.asc
Description: Digital signature


Reply to: