Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- hostname="ftp.ncbi.nlm.nih.gov"
- username="anonymous"
- password="a1.gough@qut.edu.au"
- ftp -vn $hostname << EOF
- quote USER $username
- quote PASS $password
- cd /genomes/refseq/bacteria/
- ls -1R ftpList.txt
- EOF
- rsync --dry-run -avP --include "*.gbk" --include "*.fna" --include "*_*/" --exclude "*" ftp.ncbi.nih.gov::genomes/refseq/bacteria/ > ftplisting.txt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement