在线观看不卡亚洲电影_亚洲妓女99综合网_91青青青亚洲娱乐在线观看_日韩无码高清综合久久

鍍金池/ 問答/Linux  網(wǎng)絡安全/ tar -czvf test.tar.gz ./test.txt為什么每次打包的

tar -czvf test.tar.gz ./test.txt為什么每次打包的文件md5都是不一樣的?

這個難道自動加入了隨機數(shù)?

回答
編輯回答
挽青絲

是gzip在里面加入了timestamp,可以查看gzip的manpage

By default, gzip keeps the original file name and timestamp in the com
pressed file. These are used when decompressing the file with the -N option. This is useful when the compressed file name was truncated or when the time stamp was not preserved after a file transfer.

你試試只歸檔,不壓縮,md5是一樣的。

2017年7月17日 09:19