make_current_is_TZ.sh 214 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 11 12 13 function make_change() { for f in *_TZ.json ; do fname=$(basename $f _TZ.json) ; newname=${fname}.json ; echo "cp $f to $newname"; cp -p $f $newname ; done } make_change cd tests/ make_change ls -l ../ ls -l