Created
November 13, 2016 18:18
-
-
Save zsteva/d4e3078b37a83c41e3ea010601c067ad to your computer and use it in GitHub Desktop.
pravka losheg downloadovano ISOa
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # local | |
| local> cat ISO.ISO | split -b 1M --filter="md5sum -" | tee _local | |
| # ok file | |
| remote> cat ISO.ISO | split -b 1M --filter="md5sum -" | tee _remote | |
| remote> diff -u _local _remote | |
| --- _local 2016-11-13 19:10:05.703613885 +0100 | |
| +++ _remote 2016-11-13 19:09:28.440378205 +0100 | |
| @@ -1214,7 +1214,7 @@ | |
| 41c48764aca95230a2e3096a5a82fa3d - | |
| 27f7de851309de7b263a70aacb543601 - | |
| d583afea139cf9986de957c1282bfe44 - | |
| -fd0d48f39045340484dabe0e63ee1763 - | |
| +cee019f2fe47d922a968cdbbe015287d - | |
| c5435aada1a57697245fa1f33fe65c79 - | |
| 6ae1b52e5c2ffcc58f5823f31ac94ff8 - | |
| 329efe91a48985fbf8e41d0e3a015715 - | |
| # ok file | |
| remote> dd if=ISO.ISO of=1216 bs=1M skip=1216 count=1 | |
| remote> md5sum 1216 | |
| cee019f2fe47d922a968cdbbe015287d 1216 | |
| # fix local | |
| local> dd if=1216 of=ISO.ISO conv=notrunc bs=1M seek=1216 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment