Closed palla89 closed 1 year ago
If you're talking about the file's creation/modification date, and not some metadata element within the video, then touch
can handle that.
Given a file foo.txt
that was created yesterday. If I have a new file bar.txt
that I just created, and I want it to have the same modification date as foo.txt
, the command to do that is:
touch -r foo.txt bar.txt
From the touch
man page:
-r Use the access and modifications times from the specified file instead of the current time of day.
@palla89 Thanks for using my tools! And solving this problem is best done using the mechanism that @ttyS0 (thanks, Sean!) just described and not a change to other-transcode
itself because manipulating metadata---whether in the filesystem or not---is outside the scope of what the tool does.
Does that answer your question?
Thank you guys for your quick and helpful answers!! I'll go with touch, it's simple and exactly what I needed to, thank you both! ❤️
Hi! I don't know if I'm asking something stupid, but I wanted to transcode some twitch's vods and I was sorting them with the creation date that was set based on the streaming effective date. After transcoding, the newly created video doesn't keep these dates (and he's right!) but maybe an option to set the same properties of the original videos would be great!
What do you think? do you have any other idea on how I could accomplish this externally to this amazing toolset?