I need to rename some files using a loop but I can't get it to work as I am still very new at Linux. the files that need to be renamed are:
E9-GOWN33_multiplemap.bin.10.fa
E9-GOWN33_multiplemap.bin.16.fa
E9-GOWN33_multiplemap.bin.21.fa
E9-GOWN33_multiplemap.bin.7.fa
to a shorter name such as:
E9.bin.10.fa
E9.bin.16.fa
E9.bin.21.fa
E9.bin.7.fa
I have used rename
and mv
and other loops I've seen in threads but still cannot get it to work. any input is much appreciated! thank you!