Did you test that code or am I doing sth. wrong?
$ls *.fasta && for i in *.fasta; do sed -i '/>/d' $i; done
test.fasta test1.fasta
sed: 1: "test.fasta": undefined label 'est.fasta'
sed: 1: "test1.fasta": undefined label 'est1.fasta'
Edit: This is a Mac problem. The sed on Mac expects an extension for a backup file so do:
for i in *.fasta; do sed -i '.bak' '/>/d' $i; done
you can use Biopython too. You can adapt a basic script like that to work with all your files.
I don't think this is what OP is asking. Either modify your answer to match original posts requirements or this will be moved to a comment.
You can delete that post for me genomax. Thanks