affcompare [options] file1 file2
affcompare [options] -r dir1 dir2
affcompare [options] -s file1 file2...
DESCRIPTIONCompare 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.
OPTIONSFast 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.
EXAMPLESCompare file1 with file2:
$ affcompare file1.aff file2.affCompare similarly-named files in dir1/ and dir2/:
$ affcompare -r dir1 dir2Reports 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.affCompare 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.affCompare file1.aff, file1.img, etc.:
$ affcompare -b img file1.aff file2.aff file3.affReport AFF files in dir1 but not in dir2:
$ affcompare -re dir1 dir2Report 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:///