May 26

Once again thanks to WL:

for i in *ABC*
do
new=$ ( echo $i | sed ‘s/ABC/DEF/’ )
mv $i $new
done

Leave a Reply

preload preload preload