Now you may ask: what happens if I put twice the same file in two separate folders? Will Tagsistant create two copies of the same file or what? The answer is: as soon as Tagsistant notices that two files with the same content have been created, it deletes the second copy applying its tags to the first one. So if you do this:
$ mkdir ~/myfiles/store/movies/
$ mkdir ~/myfiles/store/startrek/
$ cp first_contact.avi ~/myfiles/store/movies/@/
$ cp first_contact.avi ~/myfiles/store/startrek/@/
right after the end of the second copy Tagsistant will compare the content of the two files first_contact.avi, guess the second is a duplicate of the first, delete the second and tag the first also as startrek/. So you can now:
$ ls ~/myfiles/store/startrek/movies/@/
first_contact.avi the_wrath_of_khan.avi
Deduplication can currently be a bit rough and confusing for the user. If two identical files named A.jpg and B.jpg get copied in two directories called tag1/ and tag2/, Tagsistant will delete B.jpg and tag A.jpg as tag2/ too.
$ cp A.jpg ~/myfiles/store/tag1/@/
$ cp B.jpg ~/myfiles/store/tag2/@/
[... deduplication happens here ...]
$ ls ~/myfiles/store/tag2/@/
... A.jpg ...
The content of B.jpg (being identical to A.jpg) is actually available under tag2/ too, but as A.jpg! The file ~/myfiles/store/tag2/@/B.jpg seems to have vanished. This is something Tagsistant will address in a future release.