LWN.net Logo

Shuttleworth: Unity shell will be default desktop in Ubuntu 11.04 (ars technica)

Shuttleworth: Unity shell will be default desktop in Ubuntu 11.04 (ars technica)

Posted Oct 26, 2010 10:55 UTC (Tue) by job (guest, #670)
In reply to: Shuttleworth: Unity shell will be default desktop in Ubuntu 11.04 (ars technica) by rgmoore
Parent article: Shuttleworth: Unity shell will be default desktop in Ubuntu 11.04 (ars technica)

While the EXIF indexing is probably the right solution for you, I want to object to your notion that somehow can't sort your pictures into directories according to all of your criteria.

There is fundamentally no problem with this. A file can have a number of names and positions in a traditional directory hierarchy. There are a number of practical issues, such as that you have to delete all instances of the file to actually delete it which may not fit a photography collection, but there are issues with any system.


(Log in to post comments)

Shuttleworth: Unity shell will be default desktop in Ubuntu 11.04 (ars technica)

Posted Oct 26, 2010 16:12 UTC (Tue) by sorpigal (subscriber, #36106) [Link]

What you're saying is that we can work around the problem with the current system.

Shuttleworth: Unity shell will be default desktop in Ubuntu 11.04 (ars technica)

Posted Oct 26, 2010 18:26 UTC (Tue) by rgmoore (✭ supporter ✭, #75) [Link]

That's not a very practical solution. Pre-sorting into a whole set of directories according to my different criteria is theoretically possible, but has some severe limitations. Directory structures work best when the metadata in question takes on a relatively limited set of values. So it will work fine if I want to sort based on traditional photographic criteria, like lens, aperture, shutter speed, focal length, etc. But that type of sorting breaks down for values like latitude, longitude, or time, where there are literally millions or billions of possible discrete values.

There's also the a matter of practicality. Yes, I can theoretically create a whole set of parallel directory structures each of which serves as a a way of sorting according to different criteria. But the more different criteria I use, the more cumbersome that solution gets. Just adding and deleting files gets to be a pain, since it involves creating or deleting numerous links. You'll wind up needing to create a whole set of new tools to create and maintain your fancy link structure.

And all you're really doing is duplicating the functionality of a database- probably badly. At some point, it gets easier just to have the computer maintain a proper database rather than trying to do it with links. Once you've built the tools to maintain the database, a whole world of other possibilities opens up. You'll be able to use standard database queries to look for your files. Adding new file types only involves figuring out what kind of metadata they might want to use. There's a lot more upfront effort, but the potential payoff is huge.

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