Hi experts,
I have a shell script that runs fine, I want to add some code in there to find any files in the current directory named like *_GAP2_0.txt and change it to *_GAP2_7.txt
so the files
QW_GAP2_0.txt
GD_GAP2_0.txt
UY_GAP2_0.txt
should all be changed to
QW_GAP2_7.txt
GD_GAP2_7.txt
UY_GAP2_7.txt
I tried using
mv *_GAP2_0.txt *_GAP2_7.txt
but that gives an error, so how can i do it?
Thanks
Start Free Trial