I want to search and identify multiple files, within a directory, having a particular file extension (.txt) and changing the extension to (.fasta). This is considering not changing the file itself, only the extension, and saving it with the new extension.
file1.txt --> file1.fasta
file3.txt --> file2.fasta
file3.txt --> file3.fasta