Provided by: wwwoffle_2.8e-3_i386
wwwoffle-tools - tools to manage wwwoffle cache
wwwoffle-ls (<dir>/<subdir> | <protocol>://<host> | <URL>)
wwwoffle-mv (<dir1>/<subdir1> | <protocol1>://<host1>)
(<dir2>/<subdir2> | <protocol2>://<host2>)
wwwoffle-read [--removeheader] <URL>
wwwoffle-write [--addheader] <URL>
These five commands can be used from the command line to inspect the
wwwoffle cache, to move the cached pages around and to remove the
cached pages from the cache. Using the wwwoffle HTML interface is much
better and can be done even by normal users.
list the files in the directory in the style of ’ls -l’. For
example use ’wwwoffle-ls http/foo’ to list the URLs cached in
the directory http/foo.
To rename a host directory in the spool to another name.
Because the URL is encoded in the filename just renaming the
directory will not work. Instead of ’mv http/foo http/bar’ use
’wwwoffle-mv http/foo http/bar’.
Delete the URL that is specified on the command line. To delete
all URLs from a host it is easier to use ’rm -r http/foo’ than
Read data directly from the cache for the URL named on the
command line and output it on stdout.
If --removeheader is used, the HTTP header will be removed for
Write data directly to the cache for the URL named on the
command line from stdin. Note this requires a HTTP header to be
included first or browsers may get confused.
(echo "HTTP/1.0 200 OK";
echo "Content-Type: text/html";
echo "" ; cat bar.html ) |
If --addheader is used, the above header will be generated for
you, so that the data can be redirected without the need for the
If a different header is required, it will have to be generated
externally as in the example above.
Print WWWOFFLE’s encoding of the submitted URL. This is useful
for scripts working on the WWWOFFLE cache.
/var/cache/wwwoffle default wwwoffle cache
Written by Federico Di Gregorio <firstname.lastname@example.org>
Updated by Paul Slootman <email@example.com>