prevnext   » SZS: Wiimms SZS Toolset » wszst: Wiimms SZS Tool » wszst scancache

wszst scancache

Scan the cache directory for SZS files and re-build the checksum table. Store the result as file 'cache-content.txt' in the same directory. The file is used by option --cache to optimize file access.


1.   Syntax

wszst SCANCACHE directory
wszst SCANCACHE --cache directory

2.   Options

Option Param Description
--cache dir Define a directory for a SZS cache.If creating a YAZ0 compressed file with standard compressen (level 9), the cache is searched for the compressed version. File cache-content.txt is used as file list with hash values. If the cache file is not found or the content differ, the file is (re-)created and exit status 2=differ is returned.

Background: Loading a compressed SZS and content verification is much faster than YAZ compression.

For legay reasons: If parameter DIR is a file, it is split into dirname and basename. The dirname is used for the cache directory and the basename for option --cname, but only if --cname is not used.

--purge Remove repeated files with same checksum.