snarf command

snarf is a command line resource grabber. It can transfer files through the http, gopher, finger, and ftp protocols without user interaction. It is small and fast.

The snarf homepage is

On FREESCO the snarf command is integrated in the packages system, the dyndns client and possibly some more. It can be used to download stuff from the [linux] command line directly on your FREESCO disk.

There are some known issues with snarf and certain username/password combinations as required for the DynDNS client. Usually changing your DynDNS account name or password resolves this issue.

This is snarf, version 7.0
usage: snarf [OPTIONS] URL [OUTFILE] ...
    -a     Force active FTP (default is passive)
    -v     Verbose; print anything the server sends
    -q     Don't print progress bars (compiled default is on)
    -p     Force printing of progress bars (overrides -q)
    -r     Resume downloading a partially transferred file
    -n     Ignore '-r' and transfer file in its entirety
    -m     Spoof MSIE user-agent string
    -z     Spoof Navigator user-agent string

Lowercase option letters only affect the URLs that immediately follow them.
If you give an option in caps, it will be the default option for all URLs
that follow it.

If you specify the outfile as '-', the file will be printed to standard
output as it downloads.

You can have as many URLs and outfiles as you want

You can specify a username and password for ftp or http authentication. The
format is:


If you don't specify a password, you will be prompted for one.

environment variables.

snarf is free software and has NO WARRANTY. See the file COPYING for details.
freesco/manuals/commands/snarf.txt (100346 views) · Last modified: 2005/09/14 00:49 (external edit)
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki