| What do I have to do if I wish to get a directory tree home using wget? | Recursively? I have tried all - but I do not know how to specify a tree | for download. When I tell it a file, it gets it. When I tell it a | directory, it gets only an artificial index.html and that is it.
What you will have to do is simple, use httrack, i don't really know if it is in the Suse distro however !. page : http://www.httrack.com/index.php
Thanks to all who replied. o Although it seems that httrack would work only for websites, I wonder whether it includes ftp sites. Shall check. o I still feel that my script structure is good and efficient and may be better than the alternatives suggested. Here it is.. SuSE_sites -> Contains master as well as mirror sites for SuSE and the value for -cut-dirs parameter of wget. SuSE_init -> Get INDEX.gz for DL_VERSION [=8.2 for now] Construct directory tree for paths in INDEX.gz Get MD5SUMS file for the directory which contains any .rpm file [as mentioned in INDEX.gz, again] SuSE_download -> Site-id is supplied as an argument, parses SuSE_sites, builds URL and downloads the file if it is already not there, is not under download, or if fails md5 checksum [if applicable]. Runs for one site. SuSE_verify -> Recursive md5 checksum for files which have it. For N sites, N instances of SuSE_download shall be heavy on system, but I am sure that they operating in parallel shall give me the best throughput for download. File-listing, MD5SUMS and filenames are universal and for anything underdownload, there would be a lockfile, so no overwriting. Inputs? I think httrack may not be able to do this - in parallel from 18 sites, but what do I know? I am yet to find out. Rohit ********************************************************* Disclaimer This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. ********************************************************* Visit us at http://www.mahindrabt.com