I want to download many bacteria fasta files with the .fna.gz extension from NCBI i have tried the commands below but none of them is working as it should. I do get the directory not the fasta files. Can anyone let me know what i should change to get the the ref seq of fasta files?
wget -b -r --no-parent -A 'GCF_*_genomic.fna.gz' ftp://ftp.ncbi.nlm.nih.gov/genomes/refseq/bacteria/
wget -b -r --no-parent accept-regex=*/latest_assembly_versions/*/*_genomic.fna.gz ftp://ftp.ncbi.nlm.nih.gov/genomes/refseq/bacteria