Note: This documentation is for an old version of Webinator. The latest documentaion is here.

Using Option Files

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/


Copyright © Thunderstone Software     Last updated: Tue Nov 6 10:58:47 EST 2007
Copyright © 2024 Thunderstone Software LLC. All rights reserved.