Instantly share code, notes, and snippets.

What would you like to do?
quick way to get all the fasta files for all bacterial genomes
set -euo pipefail
rm -rf genbank/
rsync \
--archive \
--progress \
--recursive \
--prune-empty-dirs \
--copy-links \
--include='*/' \
--include='latest_assembly_versions/**annotated_assembly_genomic.fna.gz' \
--exclude='*' \
rsync:// \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment