File: affcopy.1

package info (click to toggle)
afflib 3.7.22-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,584 kB
  • sloc: cpp: 20,911; ansic: 15,912; makefile: 520; sh: 436; python: 192
file content (148 lines) | stat: -rw-r--r-- 3,075 bytes parent folder | download | duplicates (8)
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
.TH affcopy "1"  "Oct 2014" "AFFCOPY 3.7.4" "reorder and recompress AFF files"
.\"Text automatically generated by txt2man
.SH NAME
\fBaffcopy \fP- reorder and recompress AFF files
.SH SYNOPSIS
.nf
.fam C
\fBaffcopy\fP [\fIoptions\fP] \fIfile1\fP \fIfile\fP
\fBaffcopy\fP [\fIoptions\fP] \fIfile1\fP \fIfile2\fP \fIfile3\fP \.\.\. \fIdir\fP
\fBaffcopy\fP [\fIoptions\fP] \fIfile1\fP \fIfile2\fP \fIfile3\fP \.\.\. \fIdir1\fP dir2\.\.\.
.fam T
.fi
.fam T
.fi
.SH DESCRIPTION
Copy one AFF \fIfile\fP to another. Resulting \fIfile\fP is re-ordered and possibly
re-compressed.
.PP
This \fIfile\fP is part of the AFFLIBv3, that provides AFF.
.PP
AFF is an open and extensible \fIfile\fP format to store disk images and associated
metadata. It is useful in several scenaries, as computer forensics
investigations.
.SH OPTIONS
General \fIoptions\fP:
.RS
.TP
.B
\fB-d\fP
Print debugging information as well.
.TP
.B
\fB-h\fP
Help, print this message.
.TP
.B
\fB-L\fP
Recompress pages (preen) with LZMA (smaller but slower).
.TP
.B
\fB-m\fP
Just copy the missing segments.
.TP
.B
\fB-V\fP
Print the program version and exit.
.TP
.B
\fB-v\fP
Verbose: print each \fIfile\fP as it is copied.
.TP
.B
\fB-vv\fP
Very verbose: print each segment as it is copied.
.TP
.B
\fB-x\fP
Don't verify hashes on reads.
.TP
.B
\fB-Xn\fP
Recompress pages (preen) with zlib level n.
.TP
.B
\fB-y\fP
Don't verify writes.
.TP
.B
\fB-z\fP
ZAP (delete). Copy even if the destination exists.
.RE
.PP
Signature Options:
.RS
.TP
.B
\fB-k\fP <filename.key>
Specify private key for signing.
.TP
.B
\fB-c\fP <filename.cer>
Specify a X.509 certificate that matches the private key
(by default, the \fIfile\fP is assumed to be the same one
provided with the \fB-k\fP option).
.TP
.B
\fB-n\fP
Read notes to accompany the copy from standard in.
.RE
.PP
Encryption Options:
.PP
.nf
.fam C
    Is possible specify passphrase encryption for filename.aff with:
    file://:passphrase@/filename.aff
.fam T
.fi
.SH EXAMPLES
Copy \fIfile1\fP to \fIfile2\fP:
.PP
.nf
.fam C
    $ affcopy file1 file

.fam T
.fi
Copy all files to \fIdir\fP:
.PP
.nf
.fam C
    $ affcopy file1 file2 file3 dir

.fam T
.fi
Copy \fIfile1\fP to \fIdir1\fP, \fIfile2\fP to dir2 and \fIfile3\fP to dir3:
.PP
.nf
.fam C
    $ affcopy file1 file2 file3 dir1 dir2 dir3

.fam T
.fi
Encrypt file.aff:
.RS
.TP
.B
$ \fBaffcopy\fP
file.aff   \fIfile\fP://:mypassword@/\fIfile\fP-encrypted.aff
.RE
.PP
Copy all files in current directory to S3 default bucket with X9 compression:
.PP
.nf
.fam C
    $ affcopy \-vy \-X9 *.aff s3:///
.fam T
.fi
.SH SEE ALSO
\fBaffcat\fP(1), \fBaffcompare\fP(1), \fBaffconvert\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).