Created
January 22, 2021 18:45
-
-
Save ubermachine/3a30ea26b59140655769acadc6a148c9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget -r -np -nH --cut-dirs=3 -R index.html http://hostname:port | |
Explanation: | |
It will download all files and subfolders in ddd directory | |
-r : recursively | |
-np : not going to upper directories, like ccc/… | |
-nH : not saving files to hostname folder | |
--cut-dirs=3 : but saving it to ddd by omitting first 3 folders aaa, bbb, ccc | |
-R index.html : excluding index.html files |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment