[FFmpeg-user] How to preserve file time
Ulf Zibis
Ulf.Zibis at CoSoCo.de
Fri Aug 16 00:53:02 EEST 2024
Am 15.08.24 um 23:39 schrieb Greg Oliver:
> On Thu, Aug 15, 2024 at 12:02 PM Nicolas George <george at nsup.org> wrote:
>> Ulf Zibis (12024-08-14):
>>> But for convenience FFmpeg CLI provides option `-y` for this task
>> No, it does not. The -y option only disables a very simple, unreliable
>> but convenient safety measure. It does not delete anything.
> It actually will overwrite the output file if it already exists.
Which is exactly what I mean by "delete".
Some of you argue, that "OS / file system tasks" should not be in the scope of FFmpeg CLI.
To me, "deleting/overwriting existing files" and "preserving file times from input to output" are *both* "OS / file system tasks".
-Ulf
More information about the ffmpeg-user
mailing list