beta.blog

Linux (Ubuntu)

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 more...

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!