|affcompare(1)||compare the contents of an ISO file to an AFF file||affcompare(1)|
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):
- 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:
Compare similarly-named files in dir1/ and dir2/:
$ affcompare file1.aff file2.aff
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 -r dir1 dir2
Compare f1.aff with dir1/f1.aff and f2.aff with dir2/f2.aff:
$ affcompare -s file1.aff file2.aff file3.aff
note that dir1/ must end with a slash.
$ affcompare f1.aff f2.aff dir1/
Compare file.aff and file.img:
Compare file1.aff, file1.img, etc.:
$ affcompare -b img file.aff
Report AFF files in dir1 but not in dir2:
$ affcompare -b img file1.aff file2.aff file3.aff
Report AFF files in dir1 but not on S3 (low bandwidth):
$ affcompare -re dir1 dir2
Report AFF files in dir1 but incomplete on on S3 (more bandwidth):
$ affcompare -rse dir1 s3:///
$ affcompare -rs dir1 s3:///
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).
|Oct 2014||AFFCOMPARE 3.7.4|