-
Notifications
You must be signed in to change notification settings - Fork 2
Commands
WXY edited this page Feb 15, 2021
·
3 revisions
While the daemon is running, it can be controlled via several commands
The following depicts what some of the command effectively does in relation to how the pipeline typically work
curator --offer GROUP STORE
curator --offer FIRST_GROUP LAST_GROUP STORE
--offer
or -o
notifies the program to re-run the post-import procedures for a group of files and against a particular store. This is most useful for stores that uses the link
transfer mechanism as a way to either:
- Recover a destroyed directory structure
- Build a different directory structure after a path format change
curator --thumbnail GROUP STORE
curator --thumbnail FIRST_GROUP LAST_GROUP STORE
--thumbnail
or -t-
is essentially --offer
after the file transfer phase. It regenerates and links out missing thumbnails and should be used for similar purposes.
curator --query phash FILE_PATH [LIMIT]
--query
or -q
provides a safe way to query the mono-collection for information. Currently the supported indices are as follows:
- phash - Ask the perceptual hashing index whether any files in the collection "looks similar" to a particular file. Returning the top N closest matches (default 5).
- Search performance expected to be logarithmic to how much many files are in your collection.