4
1
mirror of https://github.com/pfloos/quack synced 2024-11-19 04:22:39 +01:00
quack/utils/rename

15 lines
236 B
Plaintext
Raw Normal View History

2019-02-07 22:49:12 +01:00
#! /bin/bash
if [ $# != 1 ]
then
echo "1 argument required!!"
else
mv Ov.dat Ov."$1".dat
mv Kin.dat Kin."$1".dat
mv Nuc.dat Nuc."$1".dat
mv ERI.dat ERI."$1".dat
mv F12.dat F12."$1".dat
mv Erf.dat Erf."$1".dat
fi