Skip to content

Bash příklady

Rudolf edited this page Feb 10, 2017 · 3 revisions

md5 checksum

[root@war path-index]# md5sum path-index.txt
d597aa9d3991a9d9401b7f1da71884ef  path-index.txt

kontrola md5 ze souboru

[root@war 14]# md5sum -c 2014.md5
./serials/Serials-2014-01-1M_ArchiveIt/Serials-2014-01-1M_ArchiveIt-20140129162928961-00002-15337~crawler00.webarchiv.cz~7778.warc.gz: V POŘÁDKU
./serials/Serials-2014-01-1M_ArchiveIt/Serials-2014-01-1M_ArchiveIt-20140129161718712-00000-15337~crawler00.webarchiv.cz~7778.warc.gz: V POŘÁDKU
./serials/Serials-2014-01-1M_ArchiveIt/Serials-2014-01-1M_ArchiveIt-20140129161718736-00001-15337~crawler00.webarchiv.cz~7778.warc.gz: V POŘÁDKU

jak vypadají soubry s checksum

[root@war 14]# head -3 2014.md5
63e3b229f087f0f72d87cca2c3e03f00  ./serials/Serials-2014-01-1M_ArchiveIt/Serials-2014-01-1M_ArchiveIt-20140129162928961-00002-15337~crawler00.webarchiv.cz~7778.warc.gz
6d174529e7c985a7731ec6ab01e2386b  ./serials/Serials-2014-01-1M_ArchiveIt/Serials-2014-01-1M_ArchiveIt-20140129161718712-00000-15337~crawler00.webarchiv.cz~7778.warc.gz
be1a74528e631ea0575467f9e58144f8  ./serials/Serials-2014-01-1M_ArchiveIt/Serials-2014-01-1M_ArchiveIt-20140129161718736-00001-15337~crawler00.webarchiv.cz~7778.warc.gz
Clone this wiki locally