{"id":15509822,"url":"https://github.com/smortex/diffmap","last_synced_at":"2026-04-04T13:30:19.571Z","repository":{"id":12096773,"uuid":"14685309","full_name":"smortex/diffmap","owner":"smortex","description":"Display different blocks between raw-data files.","archived":false,"fork":false,"pushed_at":"2024-06-18T18:11:54.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-10-19T22:28:59.413Z","etag":null,"topics":["hacktoberfest"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/smortex.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-11-25T12:45:19.000Z","updated_at":"2020-10-06T18:54:43.000Z","dependencies_parsed_at":"2024-11-08T14:52:21.387Z","dependency_job_id":null,"html_url":"https://github.com/smortex/diffmap","commit_stats":{"total_commits":15,"total_committers":1,"mean_commits":15.0,"dds":0.0,"last_synced_commit":"5f486549377823ab096c7127ee0fe289789d0348"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smortex%2Fdiffmap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smortex%2Fdiffmap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smortex%2Fdiffmap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smortex%2Fdiffmap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smortex","download_url":"https://codeload.github.com/smortex/diffmap/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239964549,"owners_count":19725952,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hacktoberfest"],"created_at":"2024-10-02T09:44:12.128Z","updated_at":"2026-04-04T13:30:17.458Z","avatar_url":"https://github.com/smortex.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# diffmap\n\nDisplay different blocks between raw-data files.\n\n## Build\n\nCheckout the code, then run CMake and Make:\n\n\t% mkdir build\n\t% cd build\n\t% cmake ..\n\t% make\n\nInstallation is not required, run `make install` if you want to install to some\nstandard location, or run `./diffmap` from the source directory.\n\n## Usage\n\nVisually spot different blocks in binary files (files have the same size and\nmodification date, but one is corrupt).  Each dot represent a block (default\n512 bytes, can be changed using e.g. `-b 4096`) holding the same data in each\nfile, a \"X\" represent a block with different data.  If both file have different\nsize, leading \"/\" or \"\\\" are displayed for each additional blocks.\n\n\t% diffmap /tmp/arabxetex.doc.tar.xz /var/jails/texlive.home.sigabrt.org/home/romain/freebsd-texlive/distfiles/mirror/arabxetex.doc.tar.xz\n\t\\\\\\ /tmp/arabxetex.doc.tar.xz\n\t/// /var/jails/texlive.home.sigabrt.org/home/romain/freebsd-texlive/distfiles/mirror/arabxetex.doc.tar.xz\n\t................................................................................\n\t................................................................................\n\t................................................................................\n\t................................................................................\n\t................................................................................\n\t................................................................................\n\t................................................................................\n\t........................X.......................................................\n\t...........\n\nBy default, `diffmap` will check that it compares two different files and skip\nuseless checks.  Under some circumstances, for example when comparing versions\nof the same file in two snapshots of a ZFS filesystem, this behaviour can be\nproblematic and can be avoided using `-D`:\n\n\t% diffmap -b 1024000 /home/.zfs/snapshot/{2013-11-21_00.10.00--5d,2013-11-25_00.10.00--5d}/romain/mbox                                              \n\tdiffmap: \"/home/.zfs/snapshot/2013-11-21_00.10.00--5d/romain/mbox\" and \"/home/.zfs/snapshot/2013-11-25_00.10.00--5d/romain/mbox\" are the same file.  Skipping comparison.\n\n\t% diffmap -Db 1024000 /home/.zfs/snapshot/{2013-11-21_00.10.00--5d,2013-11-25_00.10.00--5d}/romain/mbox\n\t\\\\\\ /home/.zfs/snapshot/2013-11-21_00.10.00--5d/romain/mbox\n\t/// /home/.zfs/snapshot/2013-11-25_00.10.00--5d/romain/mbox\n\t................................................................................\n\t................................................................................\n\t..........................................................................//////\n\t///\n\nHere, we can see that this mailbox has grown by ~10 MB between these two snapshots.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmortex%2Fdiffmap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmortex%2Fdiffmap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmortex%2Fdiffmap/lists"}