1affcompare(1) compare the contents of an ISO file to an AFF file affcompare(1)
2
3
4
6 affcompare - compare the contents of an ISO file to an AFF file
7
9 affcompare [options] file1 file2
10 affcompare [options] -r dir1 dir2
11 affcompare [options] -s file1 file2...
12
14 Compare the contents of an ISO file to an AFF file. Optionally, if they
15 are equal, delete the ISO file.
16
17 This file is part of the AFFLIBv3, that provides AFF.
18
19 AFF is an open and extensible file format to store disk images and
20 associated metadata. It is useful in several scenaries, as computer
21 forensics investigations.
22
24 Fast options (compare segments but not their contents):
25
26 -e Just report about existence (use with -r).
27
28 -p Report about the results of preening.
29
30 -r dir1 dir2 Recursively compare what's in dir1 with dir2,
31 and report what's in dir1 that's not in dir2.
32
33 -s Check to see if named files are on Amazon S3.
34
35 Other options:
36
37 -a Print what's the same (all).
38
39 -b Print the numbers of differing sectors.
40
41 -c Print the contents of differing sectors.
42
43 -h Show help page.
44
45 -m Just report about the data (ignore metadata).
46
47 -P <n> Just examine the differences on page 'n'.
48
49 -q Quiet. No output except for errors.
50
51 -V Just print the version number and exit.
52
53 -v Verbose. Show each file as it is compared.
54
56 Compare file1 with file2:
57
58 $ affcompare file1.aff file2.aff
59
60 Compare similarly-named files in dir1/ and dir2/:
61
62 $ affcompare -r dir1 dir2
63
64 Reports if files were successfully copied to Amazon S3 checking only
65 for existence, not reading back the bytes (because all writes to S3 are
66 validated by the MD5 of the object):
67
68 $ affcompare -s file1.aff file2.aff file3.aff
69
70 Compare f1.aff with dir1/f1.aff and f2.aff with dir2/f2.aff:
71
72 $ affcompare f1.aff f2.aff dir1/
73
74 note that dir1/ must end with a slash.
75
76 Compare file.aff and file.img:
77
78 $ affcompare -b img file.aff
79
80 Compare file1.aff, file1.img, etc.:
81
82 $ affcompare -b img file1.aff file2.aff file3.aff
83
84 Report AFF files in dir1 but not in dir2:
85
86 $ affcompare -re dir1 dir2
87
88 Report AFF files in dir1 but not on S3 (low bandwidth):
89
90 $ affcompare -rse dir1 s3:///
91
92 Report AFF files in dir1 but incomplete on on S3 (more bandwidth):
93
94 $ affcompare -rs dir1 s3:///
95
97 affcat(1), affconvert(1), affcopy(1), affcrypto(1), affdiskprint(1),
98 affinfo(1), affix(1), affrecover(1), affsegment(1), affsign(1), affs‐
99 tats(1), affuse(1), affverify(1), affxml(1)
100
102 The AFFLIB was written by Simson L. Garfinkel <simsong@acm.org> and
103 Basis Technology, Inc.
104
105 This manual page was written by Joao Eriberto Mota Filho <erib‐
106 erto@debian.org> for the Debian project (but may be used by others).
107
108
109
110AFFCOMPARE 3.7.4 Oct 2014 affcompare(1)