beta.blog

wget: Download entire directories

by on Aug.27, 2012, under Linux (Ubuntu)

This is how I download entire directories using wget without including the parent folder structure and index files.

wget -r --cut-dirs 999 --no-parent -nH --reject "index.html*" "http://85.10.209.101/my_folder/"

If I download a folder using this command it will no longer create the parent directory structure. Pretty much a plain copy of the directory.


1 Comment for this entry

  • chwil√≥wki

    I every time used to study paragraph in news papers but now as I am a user of internet therefore from now I am using net for content, thanks to web.

Leave a Reply

*

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!