Need a file renaming facility

Doug Gwyn gwyn at brl-smoke.ARPA
Thu Apr 28 01:29:03 AEST 1988


In article <3564 at fluke.COM> inc at tc.fluke.COM (Gary Benson) writes:
>Now I want to rename all those ".pre" files to the same name without ".pre".

What I usually do in such circumstances is:
for i in *.pre; do mv $i `basename $i .pre`; done



More information about the Comp.unix.questions mailing list