-
Notifications
You must be signed in to change notification settings - Fork 2
/
sort_plots_adc.sh
executable file
·60 lines (47 loc) · 1.21 KB
/
sort_plots_adc.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#!/bin/bash
mult="adc"
mkdir MOs MP2 STATE_DENS TRANS_DENS
mv mo.* MOs
mv *mp2* MP2
mv *dens.cube STATE_DENS
mv *trans.cube TRANS_DENS
for i in singlet*_attach.cube; do
j=$(echo $i | sed "s/attach/sing_4att/" | sed s/singlet_//)
mv $i $j
done
for i in singlet*_detach.cube; do
j=$(echo $i | sed "s/detach/sing_2det/" | sed s/singlet_//)
mv $i $j
done
for i in singlet*_diff.cube; do
j=$(echo $i | sed "s/diff/sing_5dif/" | sed s/singlet_//)
mv $i $j
done
for i in singlet*_elec.cube; do
j=$(echo $i | sed "s/elec/sing_3ele/" | sed s/singlet_//)
mv $i $j
done
for i in singlet*_hole.cube; do
j=$(echo $i | sed "s/hole/sing_1hol/" | sed s/singlet_//)
mv $i $j
done
for i in triplet*_attach.cube; do
j=$(echo $i | sed "s/attach/trip_4att/" | sed s/triplet_//)
mv $i $j
done
for i in triplet*_detach.cube; do
j=$(echo $i | sed "s/detach/trip_2det/" | sed s/triplet_//)
mv $i $j
done
for i in triplet*_diff.cube; do
j=$(echo $i | sed "s/diff/trip_5dif/" | sed s/triplet_//)
mv $i $j
done
for i in triplet*_elec.cube; do
j=$(echo $i | sed "s/elec/trip_3ele/" | sed s/triplet_//)
mv $i $j
done
for i in triplet*_hole.cube; do
j=$(echo $i | sed "s/hole/trip_1hol/" | sed s/triplet_//)
mv $i $j
done