Re: Extracting Files from the Cache

From: Jens-S. Voeckler <voeckler@dont-contact.us>
Date: Mon, 05 Jun 2000 14:12:54 +0200

Craig Whitmore wrote:

) Is it possible to extract from the cache certain type of files..
) For example I want to place in a directory all the *.exe files that
) people have downloaded via
) the proxy server?

Have a look at my purge tool in non-destructive copy-out mode:

        http://www.cache.dfn.de/DFN-Cache/Development/Purge/

e.g. run it like

> mkdir /tmp/rescue
> purge -C /tmp/rescue -e '\.exe' -c /var/spool/cache
< ### Use at your own risk! No guarantees whatsoever. You were warned.
###
< /var/spool/cache/00/01/0000015F 0 285675
http://support.microsoft.com/download/support/mslfiles/AMDK6UPD.EXE
< ...

The result for the above example output line would be found in:

/tmp/rescue/support.microsoft.com/download/support/mslfiles/AMDK6UPD.EXE

-- 
Le deagh dhùrachd,
Dipl.-Ing. Jens-S. Vöckler (voeckler@rvs.uni-hannover.de)
Institute for Computer Networks and Distributed Systems
University of Hanover, Germany; +49 511 762 4726
Received on Mon Jun 05 2000 - 06:17:44 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:53:51 MST