Table of Contents
1. Disclaimer
This project is not quite finished yet. You may see in the Makefile that the version number has not reached 1.0. Nevertheless, it has come to a usable state and I start using it myself. I think it may be useful to someone else so I publish it.
2. What is Ftag
I have struggled for a long time to properly manage my administrative documents. What I mean by managing is:
- being able to quickly find any file based on what is about (appartment, job…);
- same based on date;
- not having to duplicate files (e.g. my car insurance being in the directory
caras well asinsurance); - have a convenient way of packaging a few of them into an archive to send to someone.
I createed Ftag in order to make the above easier. On top of that, I tried to build Ftag in a way that:
- is command-line based;
- is composable with standard tools (
grep,find, …); - allows encryption of documents;
- allows synchronizing the data on multiple machine.
3. Installation
$ git clone https://tristanriehs.fr/git/ftag
$ cd ftag
$ make
# make install
4. Getting started
4.1. Initialize Ftag
$ ftag init
4.2. Add a document to the database
This will prompt for some information about the file and encrypt it with your
default GPG key. Run ftag file add -h for more information.
$ ftag file add ~/documents/id_card.pdf
From now, let's say you entered the full name "ID Card" and the canonical name "idcard".
4.3. Create a tag
$ ftag tag add id Identity
4.4. Add this tag to the file
$ ftag file tag id_card id
4.5. Done!
You have set up your Ftag database. You can check by querying it.
$ ftag query -t id
4.6. Going further
This was a hello-world walk-through. You may get advices about how to insert
numerous existing files to a Ftag database by running ftag file add -h.
