How can I validate a video file from a script?

后端 未结 5 1346
一个人的身影
一个人的身影 2021-02-09 03:17

I have a server with lots of video files. After a restore, I noticed that the checksum of a couple of files changed. Since I don\'t have checksums for all files, I wanted write

5条回答
  •  情话喂你
    2021-02-09 03:55

    I recommend you use sha1sum, a command line tool that you probably already have (and if not, you probably also have md5sum, which would be fine for this job)... All you need to do is compare the stdout of sha1sum before and after the restore...

提交回复
热议问题