Skip to content

Instantly share code, notes, and snippets.

@blazetopher
Created October 28, 2011 14:58
Show Gist options
  • Save blazetopher/1322471 to your computer and use it in GitHub Desktop.
Save blazetopher/1322471 to your computer and use it in GitHub Desktop.
Script for copying ast2* files from the geo.ucsd.edu FTP server
for file in `links -dump ftp://geo.ucsd.edu/pub/begler/ooi/data/ast2/cdf/ | grep 'ast2' | grep '\.nc' | awk {'print $9'}`;do wget ftp://geo.ucsd.edu/pub/begler/ooi/data/ast2/cdf/$file -O $file;done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment