1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169
|
.TH affcompare "1" "Oct 2014" "AFFCOMPARE 3.7.4" "compare the contents of an ISO file to an AFF file"
.\"Text automatically generated by txt2man
.SH NAME
\fBaffcompare \fP- compare the contents of an ISO file to an AFF file
.SH SYNOPSIS
.nf
.fam C
\fBaffcompare\fP [\fIoptions\fP] \fIfile1\fP \fIfile2\fP
\fBaffcompare\fP [\fIoptions\fP] \fB-r\fP \fIdir1\fP \fIdir2\fP
\fBaffcompare\fP [\fIoptions\fP] \fB-s\fP \fIfile1\fP \fIfile2\fP\.\.\.
.fam T
.fi
.fam T
.fi
.SH DESCRIPTION
Compare the contents of an ISO file to an AFF file. Optionally, if they are
equal, delete the ISO file.
.PP
This file is part of the AFFLIBv3, that provides AFF.
.PP
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.
.SH OPTIONS
Fast \fIoptions\fP (compare segments but not their contents):
.RS
.TP
.B
\fB-e\fP
Just report about existence (use with \fB-r\fP).
.TP
.B
\fB-p\fP
Report about the results of preening.
.TP
.B
\fB-r\fP
\fIdir1\fP \fIdir2\fP Recursively compare what's in \fIdir1\fP with \fIdir2\fP, and
report what's in \fIdir1\fP that's not in \fIdir2\fP.
.TP
.B
\fB-s\fP
Check to see if named files are on Amazon S3.
.RE
.PP
Other \fIoptions\fP:
.RS
.TP
.B
\fB-a\fP
Print what's the same (all).
.TP
.B
\fB-b\fP
Print the numbers of differing sectors.
.TP
.B
\fB-c\fP
Print the contents of differing sectors.
.TP
.B
\fB-h\fP
Show help page.
.TP
.B
\fB-m\fP
Just report about the data (ignore metadata).
.TP
.B
\fB-P\fP <n>
Just examine the differences on page 'n'.
.TP
.B
\fB-q\fP
Quiet. No output except for errors.
.TP
.B
\fB-V\fP
Just print the version number and exit.
.TP
.B
\fB-v\fP
Verbose. Show each file as it is compared.
.SH EXAMPLES
Compare \fIfile1\fP with \fIfile2\fP:
.PP
.nf
.fam C
$ affcompare file1.aff file2.aff
.fam T
.fi
Compare similarly-named files in \fIdir1\fP/ and \fIdir2\fP/:
.PP
.nf
.fam C
$ affcompare \-r dir1 dir2
.fam T
.fi
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):
.PP
.nf
.fam C
$ affcompare \-s file1.aff file2.aff file3.aff
.fam T
.fi
Compare f1.aff with \fIdir1\fP/f1.aff and f2.aff with \fIdir2\fP/f2.aff:
.PP
.nf
.fam C
$ affcompare f1.aff f2.aff dir1/
.fam T
.fi
note that \fIdir1\fP/ must end with a slash.
.PP
Compare file.aff and file.img:
.PP
.nf
.fam C
$ affcompare \-b img file.aff
.fam T
.fi
Compare file1.aff, file1.img, etc.:
.PP
.nf
.fam C
$ affcompare \-b img file1.aff file2.aff file3.aff
.fam T
.fi
Report AFF files in \fIdir1\fP but not in \fIdir2\fP:
.PP
.nf
.fam C
$ affcompare \-re dir1 dir2
.fam T
.fi
Report AFF files in \fIdir1\fP but not on S3 (low bandwidth):
.PP
.nf
.fam C
$ affcompare \-rse dir1 s3:///
.fam T
.fi
Report AFF files in \fIdir1\fP but incomplete on on S3 (more bandwidth):
.PP
.nf
.fam C
$ affcompare \-rs dir1 s3:///
.fam T
.fi
.SH SEE ALSO
\fBaffcat\fP(1), \fBaffconvert\fP(1), \fBaffcopy\fP(1), \fBaffcrypto\fP(1), \fBaffdiskprint\fP(1),
\fBaffinfo\fP(1), \fBaffix\fP(1), \fBaffrecover\fP(1), \fBaffsegment\fP(1), \fBaffsign\fP(1),
\fBaffstats\fP(1), \fBaffuse\fP(1), \fBaffverify\fP(1), \fBaffxml\fP(1)
.SH AUTHOR
The AFFLIB was written by Simson L. Garfinkel <simsong@acm.org> and Basis
Technology, Inc.
.PP
This manual page was written by Joao Eriberto Mota Filho <eriberto@debian.org>
for the Debian project (but may be used by others).
|