affcompare(1)
β¨ affcompare(1) β NAME β¨
okay bestie, let's get into it π π¦ this is the affcompare manual page, which is the "compare the contents of an ISO file to an AFF file" tool. it's giving forensics-core energy, no cap π
πΈ NAME πΈ
affcompare β compare the contents of an ISO file to an AFF file π
π§ SYNOPSIS π§
affcompare [options] file1 file2
affcompare [options] -r dir1 dir2
affcompare [options] -s file1 file2...
π DESCRIPTION π
okay so this tool compares the contents of an ISO file to an AFF file β¨ and if they match? it can optionally delete the ISO file π so be careful, bestie, that part is serious π
it's part of the AFFLIBv3 library, which is what provides AFF π
AFF is an open and extensible file format for storing disk images and their associated metadata π it's super useful in a bunch of scenarios, like computer forensics investigations π₯ iykyk
π OPTIONS π
okay so the options are split into two vibes: fast options (compare segments but not their contents) and other options π¦
Fast options (compare segments but not their contents) β‘
-eβ just reports about existence, use it with-rπ-pβ reports the results of preening π«§-r,dir1 dir2β recursively compares what's indir1withdir2, and reports what's indir1that's not indir2ποΈ-sβ checks to see if the named files are on Amazon S3 βοΈ
Other options π
-aβ prints what's the same (all) β-bβ prints the numbers of differing sectors π’-cβ prints the contents of differing sectors π§-hβ shows the help page π-mβ just reports about the data, ignoring metadata π-P <n>β just examines the differences on page'n'π-qβ quiet mode, no output except for errors π€«-Vβ just prints the version number and exits π·οΈ-vβ verbose, shows each file as it gets compared π£
π EXAMPLES π
okay, examples time, bestie π«Ά
Compare file1 with file2:
$ affcompare file1.aff file2.aff
Compare similarly-named files in dir1/ and dir2/:
$ affcompare -r dir1 dir2
Reports if files were successfully copied to Amazon S3, checking only for existence and not reading back the bytes (because all writes to S3 are validated by the MD5 of the object):
$ affcompare -s file1.aff file2.aff file3.aff
Compare f1.aff with dir1/f1.aff and f2.aff with dir2/f2.aff:
$ affcompare f1.aff f2.aff dir1/
note that dir1/ must end with a slash, so don't forget it π
Compare file.aff and file.img:
$ affcompare -b img file.aff
Compare file1.aff, file1.img, etc.:
$ affcompare -b img file1.aff file2.aff file3.aff
Report AFF files in dir1 but not in dir2:
$ affcompare -re dir1 dir2
Report AFF files in dir1 but not on S3 (low bandwidth):
$ affcompare -rse dir1 s3:///
Report AFF files in dir1 but incomplete on S3 (more bandwidth):
$ affcompare -rs dir1 s3:///
π¦ SEE ALSO π¦
okay so the related tools are: affcat(1), affconvert(1), affcopy(1), affcrypto(1), affdiskprint(1), affinfo(1), affix(1), affrecover(1), affsegment(1), affsign(1), affstats(1), affuse(1), affverify(1), and affxml(1) πβ¨
π AUTHOR π
the AFFLIB was written by Simson L. Garfinkel <simsong@acm.org> and Basis Technology, Inc. π
this manual page was written by Joao Eriberto Mota Filho <eriberto@debian.org> for the Debian project (but may be used by others) π«Ά
bestie, that's the whole affcompare page, version 3.7.4 from Oct 2014 π you're literally going to slay with this info, periodt ππ
π¦ where this page comes from
- debian bookworm: afflib-tools 3.7.20-1 Β· LicenseRef-public-domain
- debian trixie: afflib-tools 3.7.21-1 Β· LicenseRef-public-domain
- epel 10: afftools 3.7.20-12.el10_0 Β· LicenseRef-Callaway-BSD-with-advertising
- epel 9: afftools 3.7.20-1.el9 Β· BSD with advertising
- fedora 43: afftools 3.7.20-15.fc43 Β· LicenseRef-Callaway-BSD-with-advertising
- fedora 44: afftools 3.7.22-4.fc44 Β· LicenseRef-Callaway-BSD-with-advertising
- nixos 26.05: afflib 3.7.22
- nixpkgs unstable: afflib 3.7.22
- ubuntu jammy: afflib-tools 3.7.19-2build1 Β· LicenseRef-public-domain
- ubuntu noble: afflib-tools 3.7.20-1.1ubuntu5 Β· LicenseRef-public-domain
- ubuntu questing: afflib-tools 3.7.22-1
- ubuntu resolute: afflib-tools 3.7.22-1build1 Β· LicenseRef-public-domain
- ubuntu stonking: afflib-tools 3.7.22-3 Β· LicenseRef-public-domain
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms