-
Notifications
You must be signed in to change notification settings - Fork 139
Settings
Each TMSU database (since version 0.4.0) carries a setting table in which
per-database settings can be entered.
To change a setting use the 'config' subcommand. Without arguments 'config' will list the current settings from the database, if present, or from the defaults.
$ tmsu config
autoCreateTags=yes
autoCreateValues=yes
fileFingerprintAlgorithm=dynamic:SHA256
directoryFingerprintAlgorithm=none
To change a setting, assign a new value using '='. For example, to turn off automatic tag creation:
$ tmsu config autoCreateTags=no
fileFingerprintAlgorithm: the fingerprint algorithm TMSU uses to identify files by their contents.
See [Fingerprint Algorithms](Fingerprint Algorithms).
Permitted values:
noneSHA256MD5SHA1-
dynamic:SHA256(default) dynamic:MD5dynamic:SHA1symlinkTargetNamesymlinkTargetNameNoExt
directoryFingerprintAlgorithm: the fingerprint algorithm TMSU uses to identify directories by their contents.
Permitted values:
nonedynamic:sumSizessumSizes
Note: directory fingerprinting is a work in progress. Whilst fingerprints can be calculated for directories they cannot currently identified when moved by 'repair'.
autoCreateTags: whether TMSU will automatically create a tag if a file is tagged with a new tag name.
Permitted values:
-
yes(default) no
When set to no, new tags must be created manually using tmsu tag --create tagname.
autoCreateValues: whether TMSU will automatically create a tag value if a file is tagged with a new tag value.
Permitted values:
-
yes(default) no
When set to no it is not possible to create new tag values.