[oclug] changing suffix

Thomas Rollins tom at linux.com
Mon Jun 14 18:10:52 EDT 2010


Hi James,

This may not be the cleanest way, but here is a script that will change
them...



On Mon, 2010-06-14 at 17:59 -0400, James wrote:
> I am trying tro change the suffix of files that end in .a.b to .b
> 
> I tried (to echo first):
> for f in *\.a\.bl; do echo ${f#\.a\}.b; done
> 

-- 
Thomas Rollins < tom at linux.com >


More information about the OCLUG mailing list