I use mkvpropedit to delete and cleanup tag,title,… but once my batch is processed, i lost the modification date of my file.
Could it be possible to have an option to “not touch” the file. I ant to keep modification date as before mkvpropedit process the file ?
Welcome!
I’m sorry, but I’m not interested in implementing such a feature. The modification timestamp is there for a reason, to signal to tools such as backup programs that the file was, in fact, modified. And that’s what mkvpropedit does, it modifies the file.
I understand your point and agree when adding tag, title to a mkv file.
In my case, i have many mkv file where the modification date is a release date and should not change it even if i clean the tags. Tags contain non public information i have to remove before sharing the files and keep date sorting coherent. Currently, i rename the file to keep the modification date as postfix call mkvpropedit , wait file is saved, save the previous modification date, rename the file, touch the file with previous date… And this for 100 to 200 files when i have to deliver small video capture.
I’d like to second this request. There are instances where “Date Modified” also changes other metadata within a file, including “Date Taken” or “Date Created” as some operations create a new file instead of preserving this crucial metadata.
I just found this tool as I have some MKV’s showing a modified/creation date in the year 2097 and are messing up my libraries. I’ve used the proper syntax to change the creation date metadata as below (which is also not mentioned anywhere in your readme. I had to find this through a gracious forum post elsewhere via Google results):
mkvpropedit video.mkv --edit info --set “date=YYYY-MM-DDTHH:MM:SS+05:00”
After running this command on several files to change the year prior to 2025 (2021 and 2022 specifically), I get the following output:
The file is being analyzed.
The changes are written to the file.
Done.
After checking on my Windows endpoint however, the date fields all modified to today after running the above command on my files, so the functionality of this particular feature appear to be broken at this time.
Here are the date properties of one of the files I ran the above command against:
Matroska has a header field for when the file was created. This is the field that mkvpropedit deals with. This is information that cannot be lost when you copy the file elsewhere.
That’s also file system meta data such as the date when a file was created or when a file was modified last (by any type of tool). This is, as I said, a file system meta data & not stored inside the Matroska; this is information that can easily be lost when a file is copied elsewhere. mkvpropedit does not deal with that type of information at all (and won’t).