On 2007-08-12 15:46, Ira Abramov wrote:
>> md5) and not filenames, I will be able to move images on the filesystems or
>> between machines without losing track of the metadata I recorded for them.
> 
> unless you hide it in a file "fork" like on a mac or in NT, your only
> way of copying a file with its metadata is a directory per image (with
> the metadata, thumbnail and whatnot) or in-line metadata. 

Actually, there are also extended attributes.

It's a bad idea to use EAs  directly for storage of irreproducible
information, since many backup and copy tools won't preserve them.
However, you can use EAs to associate some unique ID with the file to
make it easy to track. This is done, for example, by Beagle. Make the ID
something like the file's SHA1, and you can easily recover from EA loss
(as long as no one changed the file beyond your software's back).

  Eran

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to