affcompare man page
affcompare — compare the contents of an ISO file to an AFF file
affcompare [options] file1 file2 affcompare [options] -r dir1 dir2 affcompare [options] -s file1 file2...
Compare the contents of an ISO file to an AFF file. Optionally, if they are equal, delete the ISO file.
This file is part of the AFFLIBv3, that provides AFF.
AFF is an open and extensible file format to store disk images and associated metadata. It is useful in several scenaries, as computer forensics investigations.
Fast options (compare segments but not their contents):
Just report about existence (use with -r).
Report about the results of preening.
dir1 dir2 Recursively compare what's in dir1 with dir2, and report what's in dir1 that's not in dir2.
Check to see if named files are on Amazon S3.
Print what's the same (all).
Print the numbers of differing sectors.
Print the contents of differing sectors.
Show help page.
Just report about the data (ignore metadata).
- -P <n>
Just examine the differences on page 'n'.
Quiet. No output except for errors.
Just print the version number and exit.
Verbose. Show each file as it is compared.
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, 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.
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 on S3 (more bandwidth):
$ affcompare -rs dir1 s3:///
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), affxml(1)
The AFFLIB was written by Simson L. Garfinkel <email@example.com> and Basis Technology, Inc.
This manual page was written by Joao Eriberto Mota Filho <firstname.lastname@example.org> for the Debian project (but may be used by others).
affconvert(1), affcopy(1), affcrypto(1), affdiskprint(1), affinfo(1), affix(1), affrecover(1), affsegment(1), affsign(1), affstats(1), affuse(1), affverify(1), affxml(1).