Go to file
Wynd 8872cf2a71 Added an initial README file 2025-05-08 01:12:53 +03:00
src Mass renames and tagging 2025-05-05 23:58:41 +03:00
.gitignore Changed some dependencies, some basic cli interface and adding/removing/listing tags functionality 2025-05-01 13:40:23 +03:00
Cargo.lock Added some better error handling using anyhow 2025-05-04 14:45:08 +03:00
Cargo.toml Added some better error handling using anyhow 2025-05-04 14:45:08 +03:00
README.md Added an initial README file 2025-05-08 01:12:53 +03:00
rust-toolchain.toml Initial commit 2025-05-01 00:18:55 +03:00
rustfmt.toml Initial commit 2025-05-01 00:18:55 +03:00

README.md

taggo

local file tagging utility tool

Install

WIP

Usage

# initializes database in the current folder
$ taggo init

# lists all the registered tags and how many files are tagged with it
$ taggo tags

# registers all the given tags (separated by space)
$ taggo tags add <tags>

# deletes all the tags given (separated by space) and unlinks all the files tags with them
$ taggo tags remove <tags>

# renames the old tag with the new one, 
# this can be a list of tags given that they match the order (old new)
# example: $ taggo tags rename test test2 old new past future
$ taggo tags rename [<old> <new>]

# tags a single given file with a list of tags (separated by space)
$ taggo tag <file> <tags>

# tags all the given files (separated by space) with all the given tags (separated by space)
$ taggo tag -f <files> -t <tags>

# removes the tags for a single file
$ taggo untag <file> <tags>

# lists all the tagged files
$ taggo files

# lists both tagged and untagged files
$ taggo files --all

# lists all the files tagged with the given tag
$ taggo files <tag>