Linked by Thom Holwerda on Thu 4th Nov 2010 22:40 UTC, submitted by rhyder
Linux "For a fairly scruffy looking guy, I have a surprisingly healthy approach to organising my files. However, I'm constantly pushing up against the limitations of a system that is based around directories. I'm convinced that Linux needs to make greater use of tagging, but I'm also beginning to wonder if desktop Linux could abandon the hierarchical directory structure entirely."
Permalink for comment 448612
To read all comments associated with this story, please click here.
Not that difficult
by ddc_ on Fri 5th Nov 2010 09:25 UTC
ddc_
Member since:
2006-12-05

This may be easily without abandoning the directories done with a FUSE module representing Your tags as recursive direcotry layout, so given a file "somefile", tagged "tag1", "tag2" and "tag3", You could access it as:

~/tags/tag1/tag2/tag3/somefile
~/tags/tag3/tag2/tag1/somefile
~/tags/tag2/tag1/tag3/somefile

etc.

Taging files means:
mv somefile ~/tags/tag1/tag2/tag3/

Adding tag:
mv ~/tags/tag1/tag2/tag3/somefile ~/tags/tag1/tag2/tag3/tag4/

Removing tag:
mv ~/tags/tag1/tag2/tag3/somefile ~/tags/tag1/tag2/

The file manager doesn't even have to be aware of the FUSE module, it may just follow the directives from "~/.tags/tagN/.directory".

That should be relatively easy. It could be even accomplished (with some overhead) just with a set of symlinks and a simple daemon.

Edited 2010-11-05 09:29 UTC

Reply Score: 2