I know this question has been asked many times, but none of the solutions seem to be working for me. I have a number of files that are now named:
““““ALF16S21.SpaceSaver9.ITS.CTTCAATAA.CATTACGCCA.plant.ALF.R1.fq”A”””
““““ALF16S21.*.*.*.*.plant.ALF.R*.fq”A”””
I need to remove all the extraneous characters to create:
ALF16S21.SpaceSaver9.ITS.CTTCAATAA.CATTACGCCA.plant.ALF.R1.fq
ALF16S21.*.*.*.*.plant.ALF.R*.fq
for f in *; do mv -i "$f" “${f//[\”\]}”; done
just adds another " . What am I doing wrong?