Prevent MetaData on file from Delete and Overwrite

Started by nranjith, February 17, 2011, 08:11:47 AM

Previous topic - Next topic

nranjith

Using the exif tool , is it possible to prevent a meta-data on the file from being over-written or deleted ?

Regards
Ranjith

Phil Harvey

Hi Ranjith,

Do you mean overwritten by another application?

If so, the answer is no.  But you can use exiftool to save a copy of the metadata, then use this to restore anything that was changed or deleted.

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

nranjith

Thanks Phil,

We were after having readonly meta-data on the File.  Considering that is not possible, I might have to consider saving copy of the metadata, then use Exif to restore anything that was changed or deleted. Could you point me in the direction of how to go about doing this, please?

Regards
Ranjith

Phil Harvey

Hi Ranjith,

Quote from: nranjith on February 17, 2011, 09:29:25 AM
I might have to consider saving copy of the metadata, then use Exif to restore anything that was changed or deleted. Could you point me in the direction of how to go about doing this, please?

There are many ways to do this, depending on what information you want to save and how you want to save it.  The MIE format is an exiftool-specific metadata container designed for uses like this.  See the MIE section of the Metadata Sidecar files documentation for details.

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