Re: Files with a substructre should be directories.

Sven Niedner <[email protected]> Sun, 26 May 2002 16:18:34 +0200
Newsgroups gmane.comp.kde.look
Organization Institut für Experimentelle und Angewandte Physik, CAU Kiel
Message-ID <[email protected]>
Am Sonntag 26 Mai 2002 15:38 schrieb Friedrich W. H. Kossebau:
> > [NeXT Step]
> Great. Thanks for this information. So there is a reference to use when
> argumenting for this approach :)

The point is: There are a lot of data formats that actually  contain meta 
data. You quote mp3 as one example. This approach in incompatible with the "a 
directory is a file" concept. 

> The mimetype would be based on the ending, e.g. ".album", so the
> directory "BestOf.album" would be of mimetype application/album. You
> still are able to access each mp3-file on filesystem level.

Mimetypes for directories are defintely cool. Image folders come to mind, 
etc. UI-wise, something like this is already implemented, as some of the 
ioslaves provide transparent access to things that are not on a filesystem.

> Would need support by the apps doing the transport but this should not
> be a great obstacle, the algorithms are inplace (system( "tar ..." )
> would be a beginning). Until then it has to be done manually.

No problem: cp and mv know about directories, konqueror does so to. I never 
tried out what kmail does if I want to attach a directory, but attaching a 
.tar.gz would be the right thing to do in any case.

Greetings,

Sven.
-- 
La perfection est atteinte, non pas lorsqu'il n'y a plus rien à ajouter,
mais lorsqu'il n'y a plus rien à retirer. -- Antoine de St. Exupéry