SHARE
TWEET

Untitled

a guest Dec 31st, 2018 191 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2. HOST="ftp.ncbi.nih.gov"
  3. USER="anonymous"
  4. PASS="anonymous"
  5.  
  6. LOG_dir="/data/GEO/logs"
  7. LCD="/data/GEO/platforms"
  8. RCD="/pub/geo/DATA/annotation/platforms"
  9.  
  10. DATE=date '+%Y-%m-%d\_%H%M'
  11. lftp -c "set ftp:list-options -a;
  12. open ftp://$USER:$PASS@$HOST;
  13. lcd $LCD;
  14. cd $RCD;
  15. mirror --verbose --exclude-glob old/ --parallel=10 --log="$LOG_dir/GPL_$DATE" "
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top