[dot] PATH

A blog dedicated to my Linux experience and other great tools.

Showing posts with label zip. Show all posts
Showing posts with label zip. Show all posts

Wednesday, November 16, 2011

List files in FTP and Download/Unzip it

curl ftp://ftp.aoml.noaa.gov/phod/pub/IES_FTP/abaco/ > temp.txt


for each in `cat temp.txt | awk '{print $9}'`; do wget ftp://ftp.aoml.noaa.gov/phod/pub/IES_FTP/abaco/$each && unzip $each; done;
Posted by Unknown at 8:26 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: Bash, curl, download, ftp, wget, zip
Older Posts Home
Subscribe to: Posts (Atom)

Blog Archive

  • ▼  2017 (1)
    • ▼  May (1)
      • Revisting ROC curves for biased datasets
  • ►  2016 (4)
    • ►  October (2)
    • ►  May (1)
    • ►  March (1)
  • ►  2015 (2)
    • ►  December (2)
  • ►  2014 (2)
    • ►  November (1)
    • ►  March (1)
  • ►  2013 (2)
    • ►  February (1)
    • ►  January (1)
  • ►  2012 (4)
    • ►  November (1)
    • ►  August (1)
    • ►  June (1)
    • ►  May (1)
  • ►  2011 (19)
    • ►  December (1)
    • ►  November (3)
    • ►  October (4)
    • ►  September (1)
    • ►  August (2)
    • ►  July (3)
    • ►  June (1)
    • ►  April (2)
    • ►  March (2)
  • ►  2010 (2)
    • ►  November (2)
Awesome Inc. theme. Powered by Blogger.