snarf provides a command-line URL retrieval tool with some unique features.
Snarf is a simple utility that is similar to wget, curl, ncftp, lynx, and fetch. Its main advantage is its small size (it's ideal for using on a rescue disk). It is also full featured, supporting ftp and http resume, http and ftp authentication, http redirect, proxies, SOCKS, gopher, progress indicators, and it uses configure.
If you have an URL (for example, http://foo.bar.com/picture.jpg), you type the following (the $ below represents the command prompt):
$ snarf http://foo.bar.com/picture.jpg
snarf will fetch the file and save it to your local system with the name picture.jpg. If you want to save the file under a different name (for example, background.jpg), you type the following:
$ snarf http://foo.bar.com/picture.jpg background.jpg
snarf saves the file with the name background.jpg. If you want snarf to send the file to standard output, you would type the following:
$ snarf http://foo.bar.com/picture.jpg -
When snarf sees a dash as the local file name, it sends everything it fetches to standard output.
What's New in This Release:
· Fixes for two longstanding redirect-following bugs, and poor FTP behavior that confused certain servers.
· Users of any copy of snarf > 2.0 can upgrade by running the command "snarf LATEST".