[FFmpeg-user] How to preserve file time
Greg Oliver
oliver.greg at gmail.com
Tue Aug 13 00:05:28 EEST 2024
On Mon, Aug 12, 2024 at 6:06 AM Ulf Zibis via ffmpeg-user <
ffmpeg-user at ffmpeg.org> wrote:
> Hi,
>
> is there an option how to preserve the file time from the input file to
> the outputfile?
> My search for "file time" on https://ffmpeg.org/ffmpeg-all.html was
> resultless.
>
> -Ulf
>
DATE=$(stat -c %Y (filename) && <ffmpeg command where -i is the filename)>
&& touch -d @${DATE} filename
More information about the ffmpeg-user
mailing list