Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| wiki:wget [2011/05/18 22:31] – [Retrying] Guy | wiki:wget [2011/06/16 13:06] (current) – [Install GNU wget] Guy | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| ==== Install GNU wget ==== | ==== Install GNU wget ==== | ||
| - | wget is included in Tiny Core and Microcore base. For a version which features more advanced options and supports ssl you may install the GNU wget extension. | + | wget is included in Tinycore |
| ==== Copy and Paste from Text Editor ==== | ==== Copy and Paste from Text Editor ==== | ||
| Line 39: | Line 39: | ||
| wget -c http:// | wget -c http:// | ||
| - | ==== Retrying | + | ==== Retry ==== |
| If downloading is stopped, wget will try again a total of 20 times. After that it will stop. If you want to change the number of times it tries again, insert -t followed by the number of times you want it to try. | If downloading is stopped, wget will try again a total of 20 times. After that it will stop. If you want to change the number of times it tries again, insert -t followed by the number of times you want it to try. | ||
| - | For example if you were downloading | + | For example if you were downloading |
| < | < | ||
| wget -c -t 80 http:// | wget -c -t 80 http:// | ||
| + | |||
| + | ==== Download More than One File ==== | ||
| + | |||
| + | To download more than one file, you can put more than one url after each other. | ||
| + | |||
| + | For example, if you wanted to download tinycore_3.6.iso, | ||
| + | |||
| + | < | ||
| + | wget -c -t 80 http:// | ||
| + | http:// | ||
| + | http:// | ||
| + | |||
| + | ==== Download a List of Files from the Same Directory ==== | ||
| + | |||
| + | You can download a list of files from the same directory. | ||
| + | |||
| + | Let's say you want to download Xfe, all .dep files and all dependencies, | ||
| + | |||
| + | Using the .dep files, make a list. Like this | ||
| + | |||
| + | < | ||
| + | xfe.tcz.dep | ||
| + | xfe.tcz.md5.txt | ||
| + | fox.tcz | ||
| + | fox.tcz.dep | ||
| + | fox.tcz.md5.txt | ||
| + | Xorg-7.5-lib.tcz | ||
| + | Xorg-7.5-lib.tcz.md5.txt | ||
| + | libxft.tcz | ||
| + | libxft.tcz.dep | ||
| + | libxft.tcz.md5.txt | ||
| + | fontconfig.tcz | ||
| + | fontconfig.tcz.dep | ||
| + | fontconfig.tcz.md5.txt | ||
| + | expat2.tcz | ||
| + | expat2.tcz.md5.txt</ | ||
| + | |||
| + | Save this file in the same directory as you will be downloading to, in this example, it is / | ||
| + | |||
| + | < | ||
| + | for I in `cat xfe-files.txt`; | ||
| ==== Learn More ==== | ==== Learn More ==== | ||