From 58991cee1b1351ef0e80598a71d56a6d3fba635c Mon Sep 17 00:00:00 2001 From: blankie Date: Tue, 2 Jan 2024 23:44:58 +1100 Subject: [PATCH] Add README.md --- README.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..1ba4d0a --- /dev/null +++ b/README.md @@ -0,0 +1,33 @@ +# mf + +A serverless meme finder with full-text search (thanks to SQLite, but you have +to describe all the images yourself) + +``` +Usage: mf [-C=] create + or mf [-C=] list + or mf [-C=] search + or mf [-C=] prune + + or mf [-C=] {info|show} ... + or mf [-C=] delete ... + or mf [-C=] edit + or mf [-C=] get + or mf [-C=] set + +-C= changes the current working directory to before a +subcommand is executed. This causes the database to be looked up in +, all file paths are relative to and database creation +to be inside of + +create creates a database in the current directory (or ) + +prune removes all metadata entries that correspond to non-existent files, then +vaccums the database + +delete only deletes the metadata for the files specified, not the actual files +themselves + +get outputs the file's path, source, description, and miscellaneous information +delimited by a null-byte +```