NCBI Genbank sync commands - chanzuckerberg/czid-workflows GitHub Wiki

Sync from NCBI to local

Example with 'bacteria': rsync -arzv --inplace --size-only --no-motd --progress --copy-links rsync://ftp.ncbi.nih.gov/genomes/genbank/bacteria bacteria/

Sync from local to S3

aws s3 sync --size-only bacteria/ s3://idseq-database/genomes/genbank

Example with nohup

nohup rsync -arzv --inplace --size-only --no-motd --progress --copy-links rsync://ftp.ncbi.nih.gov/genomes/genbank/bacteria bacteria/ &> bacteria_1.out&