-1
我已經試過了我所有的想法。 @if(md5sum foto.jpg
= md5sum fot.jpg
);然後回顯「OK」;其他「失敗」; fi; 如果你有什麼想法,請幫我我需要比較makefile中的md5sum
我已經試過了我所有的想法。 @if(md5sum foto.jpg
= md5sum fot.jpg
);然後回顯「OK」;其他「失敗」; fi; 如果你有什麼想法,請幫我我需要比較makefile中的md5sum
如何比較文件,並跳過所有的校驗和擺弄。
@if cmp foto.jpg fot.jpg >/dev/null; then echo OK; else echo FAIL; exit 1; fi