Pages

Wednesday, April 17, 2013

Downloading files in folders with wget


wget  -r -nH --cut-dirs=2 --no-parent ftp://aurapar2u.ecs.nasa.gov/data/s4pa///Aura_OMI_Level2/OMAERUV.003//2012/183/*

The above command will create directory structure /Aura_OMI_Level2/OMAERUV.003/2013/183/ and download all files in it. If there are any subdirectories in /183, they will also be created automatically.

No comments:

Post a Comment