You may find that you use the same large set of options very often. You
may place these options into a file and tell gw
to read them
from the file with the -m
option.
Place options in a file one per line without the leading -
.
Blank lines and lines beginning with #
are ignored.
Make sure there are no extraneous spaces or tabs at the end of option lines.
For example, to exclude several paths and include an extra extension when walking you could use an options file like the following:
#
# common options for walking www.somesite.com
#
# exclude duplicate text tree
xhttp://www.somesite.com/text/
# exclude some junk
xhttp://www.somesite.com/test/
xhttp://www.somesite.com/personals/
# allow .asp files
fasp
# handle PDF files with purchased PDF plugin
napplication/pdf,pdf,pdftotx
# allow big files so PDF doesn't get truncated
z500000
And invoke gw
with a command like (assuming the above file was
called somesite.set
):
gw -msomesite.set http://www.somesite.com/
Other options may still be used on the command line, as in:
gw -o -msomesite.set -v http://www.somesite.com/