[ previous ]
[ Abstract ]
[ Copyright Notice ]
[ Contents ]
[ next ]
Smart Cache Manual
Chapter 9 Smart Cache repair utility
SC comes with external utility for repairing broken .cacheinfo files and
importing of orphan files. When importing files, repair looks at filename
extension and tries to guess mime file type. When testing the cache repair
compares also last modified date of file and file length against records in
.cacheinfo.
Repair is invoked with java repair command. If you do not type
any parameters, short usage summary will be printed. Repair can be also
invoked directly from Smart Cache, when command-line option -repair is
used.
- -q
-
quiet mode. Prints less messages.
- -r
-
recurse into subdirectories.
- -c
-
compress text files with gzip.
- -w
-
Write new .cacheinfo files even if they do not changed. Use this with -r if
you want to convert Smart Cache data directory into new format.
- -n
-
Do not actually make changes. Only print messages what will do.
- -f
-
ignore existing .cacheinfo files, rebuilds them from scratch. Use them if some
files has been repaired with wrong MIME type.
- -i <filename>
-
"null" filename. If repair find file with this name, it will not
append this filename to directory name, when constructing resulting URL.
Contents of this file will be used as default directory index returned by
server.
- -x <mask>[:mask] ...
-
Ignore these files when rebuilding directory. Default is to ignore *.tmp.
File mask '!' resets ignored mask list to empty.
- -m <file>
-
Use external MIME table for guessing filetype from extension.
Line format is: mimetype [spaces or tabs] [extension ...]
video/dl dl
video/fli fli
video/gl gl
video/mpeg mpeg mpg mpe
video/quicktime qt mov
[ previous ]
[ Abstract ]
[ Copyright Notice ]
[ Contents ]
[ next ]
Smart Cache Manual
0.49.1
Radim Kolar hsn@cybermail.net