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."
Thread beginning with 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

RE: Not that difficult
by sorpigal on Fri 5th Nov 2010 16:33 in reply to "Not that difficult"
sorpigal Member since:
2005-11-02

Tags as directory hierarchies is a good visualization and organization method, but hiding this from apps only kind of works. Ultimately apps need to know what tags are.

Reply Parent Score: 2

RE: Not that difficult
by bogomipz on Sat 6th Nov 2010 12:22 in reply to "Not that difficult"
bogomipz Member since:
2005-07-11

What happens when a program tries to save a file in the tags hierarchy? Either because "Save as..." defaults to the same place you opened a file from, or becuase it creates backup files?

Reply Parent Score: 2