4
1
mirror of https://github.com/pfloos/quack synced 2024-10-31 19:23:52 +01:00
quack/utils/rename

15 lines
236 B
Bash
Executable File

#! /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