Download the script the script 2008 rar

broken image
broken image

Wget is an invaluable resource and something I use myself. However, unlike ‘-nd’, ‘-cut-dirs’ does not lose with subdirectories-for instance, with ‘-nH -cut-dirs=1’, a beta/ subdirectory will be placed to xemacs/beta, as one would expect. If you just want to get rid of the directory structure, this option is similar to a combination of ‘-nd’ and ‘-P’. Here are several examples of how ‘-cut-dirs’ option works. This is where ‘-cut-dirs’ comes in handy it makes Wget not “see” number remote directory components. While the ‘-nH’ option can remove the / part, you are still stuck with pub/xemacs. If you retrieve it with ‘-r’, it will be saved locally under /pub/xemacs/. This is useful for getting a fine-grained control over the directory where recursive retrieval will be saved. By default, invoking Wget with ‘-r ’ will create a structure of directories beginning with /. See Directory-Based Limits, for more details.ĭisable generation of host-prefixed directories.

broken image

This is a useful option, since it guarantees that only the files below a certain hierarchy will be downloaded. The default maximum depth is 5.ĭo not ever ascend to the parent directory when retrieving recursively. See Recursive Download, for more details.

broken image

Wget -r -np -nH -cut-dirs=3 -R index.html From man wget