Thursday, December 18, 2014

wget - Download a sub directory only

wget -r -l1 --no-parent http://www.domain.com/subdirectory/

-r: recursive retrieving
-l1: sets the maximum recursion depth to be 1
--no-parent: does not ascend to the parent; only downloads from the specified subdirectory and downwards hierarchy

No comments: