Need a file renaming facility
Dave Decot
decot at hpcupt1.HP.COM
Thu Apr 28 09:13:22 AEST 1988
To move *.r.pre to *.r, do this:
% sh
$ for i in *.pre
> do
> name=`echo $i | sed 's/.pre$//'`
> mv $i $name
> done
$ exit
%
Dave Decot
hpda!decot
More information about the Comp.unix.questions
mailing list