Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 8 lines (7 sloc) 196 Bytes
#!/bin/bash
for TXTFASTA in *.txt.fas; do
# %% removes the right part from the value
# of the variable in the left part.
FASTA="${TXTFASTA%%.txt.fas}.fas"
mv $TXTFASTA $FASTA
done