Command reference
squirrel database¶
Database inspection and maintenance.
- squirrel database¶
usage: squirrel database [--help] [--loglevel LEVEL] [--progress DEST]
SUBCOMMAND ...
Get information about Squirrel’s meta-data cache and database. Where it is, what files it knows about and what index entries are available. It also allows to do some basic cleanup actions.
General options:
- --help, -h
Show this help message and exit.
- --loglevel LEVEL
Set logger level. Choices:
critical
,error
,warning
,info
,debug
. Default:info
.
- --progress DEST
Set how progress status is reported. Choices:
terminal
,log
,off
. Default:terminal
.
Subcommands:
- squirrel database env - Show current Squirrel environment.
- squirrel database stats - Show information about cached meta-data.
- squirrel database files - Show paths of files for which cached meta-data is available.
- squirrel database nuts - Dump index entry summaries.
- squirrel database cleanup - Remove leftover volatile data entries.
- squirrel database remove - Remove cached meta-data of files matching given patterns.