[FFmpeg-user] How to preserve file time

Reindl Harald h.reindl at thelounge.net
Fri Aug 16 12:46:14 EEST 2024



Am 16.08.24 um 11:43 schrieb Reindl Harald:
> 
> 
> Am 15.08.24 um 23:53 schrieb Ulf Zibis:
>>
>> 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".
> 
> but there is no delete action

to make it clear: the only active action ffmpeg does is to look if the 
file already exsists - the normal behavior would be "open for write" 
where neither the application nor the OS cares

>> 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"

but you are not very smart



More information about the ffmpeg-user mailing list