Install wget on your mac.
Ok, i am not sure why it is not included with the mac bash but i have installed wget for my mac. This is an easy process to do and then to start using! First we need to download the wget files to your Desktop.
Download
Download wget for Mac OS X (124 KB)
Install wget
For normal mac setups.
# Open Terminal: Applications/Utilitys/Terminal # This is assuming the wget folder is in Downloads cd Downloads cd wget sudo mv wget /usr/local/bin password: sudo mv wget.1 /usr/local/man/man1 sudo mv wgetrc /usr/local/etc # Close then reopen your terminal # Now lets test! Simply do: wget # Output wget: missing URL Usage: wget [OPTION]... [URL]... Try `wget --help' for more options.
This will work 99% of the time, but i have seen one case that this did not work. When calling “sudo mv wget.1 /usr/local/man/man1″ and it responds “No such file or directory” do not freak out! I have the solution for you, below is for users that received an error after trying to move the wget.1 to man1 folder.
Install wget (option 2)
For other mac setups.
# ONLY IF YOU GOT AN ERROR "No such file or directory: MAN1" # DO NOT USE THIS IF THE CODE ABOVE WORKED AND YOU CAN USE WGET # May need to re-download sudo mv wget /usr/bin password: sudo mv wget.1 /usr/share/man/man1 sudo mv wgetrc /usr/local/etc # Close then reopen your terminal # Now lets test! Simply do: wget # Output wget: missing URL Usage: wget [OPTION]... [URL]... Try `wget --help' for more options.
So now thats installed, what do we use it for? Well are you wanting to download my lasted version of the Winn Guestbook? You can easily download it with wget now! Let me show you how!
# Download the latest version of the Winn Grestbook (v2.2.9) # First 'cd' to the directory you want it to download too. wget http://winn.ws/downloads/guestbook_v2-2-9.zip # done!
Works great! Leran more about using wget and other commands with this book from amazon.com: MAC OS X UNIX Toolbox: 1000+ Commands for the Mac OS X


