User: Password:
Subscribe / Log in / New account

Shell and Zeitgeist: the future of GNOME?

Shell and Zeitgeist: the future of GNOME?

Posted Apr 27, 2009 22:17 UTC (Mon) by jzbiciak (subscriber, #5246)
In reply to: Shell and Zeitgeist: the future of GNOME? by ms
Parent article: Shell and Zeitgeist: the future of GNOME?

Ah, I see. So the actual file itself isn't strongly typed, per se, in the traditional notion of a "strongly typed file system." Rather, you're saying that any organizational scheme you use should have a strong notion of what the file's contents are so that it can use that metadata to organize things. The command line still sees bags of bytes with a simple pathname, and "dd" and "cat" and "cp" and "tar" all do what I expect.

As for "making the command line work," wouldn't this just be an alternate implementation of "glob"? Traditional glob is just a very primitive sort of database query: The only keys you can query against are components of the pathname. Your metadata organizational system just gives you a different thing to query against to get your set of pathnames to go act upon.

(Log in to post comments)

Shell and Zeitgeist: the future of GNOME?

Posted Apr 27, 2009 22:28 UTC (Mon) by ms (subscriber, #41272) [Link]

The way we'd thought about making the command line work was along the lines of:

Rather than "being in a directory", you're in a current view of the system which has constraints (i.e. you've specified some requirements on some attributes and only files that match those attributes are available).

Then ls works as normal, and cd (or some such tool) provides a means to alter the constraints. Oh yes, the other awesome feature we had was the ability to save views. So eg, you'd have a view which would specify all media files added within the last two weeks, and then you'd save that view, and could switch very quickly to it. This meant that it was worthwhile putting a couple of minutes into setting up (we have GUI tools) a good powerful view of the system (this is why I said in an earlier comment you really want a full expression engine).

Once you'd got the command line working that well, it would be easy enough to try and do some fuse type binding, but it would be tricky. I looked into it but never wrote any code in that direction.

Copyright © 2018, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds