Does Exiftool rewrite the whole file when changing a metadata property value?

Started by ronikoren, June 18, 2022, 06:41:31 AM

Previous topic - Next topic

ronikoren

Hi, if I use Exiftool to just set/write "-title=title3" of a 4GB .MP4 file,
does the tool just change the value of this attribute (by just writing a few bytes) without rewriting the whole file or would it rewrite the whole 4GB?

StarGeek

No, exiftool does not do in-place edits.  It re-writes the entire file.  See FAQ #31.
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

Phil Harvey

...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 ($).