Would an xmp file be appropriate?

Started by Alan Clifford, April 18, 2011, 09:57:11 AM

Previous topic - Next topic

Alan Clifford

Can I ask for some advice?

I am writing an xmp:datetimeoriginal with time zone (seems to be XMP-exif).

But I can't do this for files like .mov, .wav.  So I thought I should write it in a file.  So I thought I could store other things such as Title, Subject, creator (these appear to be XMP-dc in stuff added by NikonView) and the gps stuff so that I could it pick up in the script that generates my web pages just like it does for the photos.  And I could copy it to be used with edited copies of movies.

I was thinking about a plain text file but started to read about xmp files and they would seem to be an appropriate and writeable.  Also, there are not a lot of files to process so adding stuff with the command line exiftool, before or after generating the date, would be OK.

Would this be the way to go?


Alan

Phil Harvey

Hi Alan,

Yes, this sounds like a perfect use for an XMP sidecar file.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Alan Clifford

Whilst pondering my website generating scripts tonight, I thought that perhaps a directory.xmp file (actually called "directory" rather than the directory's name) would be useful for storing the title and keywords for the directory.  Then it would be accessible in a manner consistent with accessing data for the actual photos and movies.

Alan