File: affconvert.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 (146 lines) | stat: -rw-r--r-- 3,085 bytes parent folder | download | duplicates (6)
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
.TH affconvert "1"  "Oct 2014" "AFFCONVERT 3.7.4" "convert files between RAW and AFF formats"
.\"Text automatically generated by txt2man
.SH NAME
\fBaffconvert \fP- convert files between RAW and AFF formats
.SH SYNOPSIS
.nf
.fam C
\fBaffconvert\fP [\fIoptions\fP] \fIfile1\fP [\.\.\. \fIfiles\fP]
.fam T
.fi
.fam T
.fi
.SH DESCRIPTION
Convert \fIfiles\fP from RAW to AFF, AFF to RAW and AFF to AFF
(recompressing/uncompressing). WARNING: the source file must have 'raw'
or 'aff' as extension in name.
.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
General \fIoptions\fP:
.RS
.TP
.B
\fB-q\fP
Quiet mode. Don't ask questions, don't print status.
.TP
.B
\fB-V\fP
Just print the version number and exit.
.RE
.PP
AFF output \fIoptions\fP:
.RS
.TP
.B
\fB-a\fP<ext>
Use 'ext' for aff \fIfiles\fP (default is aff; afd for AFD \fIfiles\fP).
.TP
.B
\fB-L\fP
Use the LZMA compression algorithm (better but slower).
.TP
.B
\fB-Mn\fP[kmg]
Set maximum size of output file. Suffix with k, m or g. Use with \fB-o\fP.
.TP
.B
\fB-O\fP<dir>
Use 'dir' as the output directory. Example: \fB-Otest\fP. Note that you need create the directory.
.TP
.B
\fB-o\fP<dir>.afd
Output to 'dir'.afd (can only convert one at a time). Consider AFF if file ends using .aff. Otherwise assumes raw. The directory must have .afd as extension in name.
.TP
.B
\fB-s\fP<n>
Set the image_pagesize as 'n' (default 16777216).
.TP
.B
\fB-x\fP
Don't compress the AFF file.
.TP
.B
\fB-X\fP<n>
Set compression to 'n'; default is 7.
.RE
.PP
Raw output \fIoptions\fP:
.RS
.TP
.B
\fB-e\fP<ext>
Use 'ext' for the raw \fIfiles\fP (default is raw). Implies in \fB-r\fP.
.TP
.B
\fB-r\fP
Generate raw output.
.RE
.PP
Dangerous input \fIoptions\fP:
.RS
.TP
.B
\fB-y\fP
Always answer yes/no questions 'yes.'
.TP
.B
\fB-Z\fP
Do not automatically probe for gzip/bzip2 compression.
.TP
.B
\fB-z\fP
ZAP (delete) the output file if it already exists.
.SH EXAMPLES
Convert file1.raw to file1.aff:
.PP
.nf
.fam C
    $ affconvert file1.raw

.fam T
.fi
Convert file1.aff to file1.raw:
.PP
.nf
.fam C
    $ affconvert -r file1.aff

.fam T
.fi
Batch convert \fIfiles\fP:
.PP
.nf
.fam C
    $ affconvert file1.raw file2.raw file3.raw

.fam T
.fi
.PP
.nf
.fam C
    $ affconvert -r file1.aff file2.aff file3.aff

.fam T
.fi
Split an AFF file into 4GB chunks for archiving to DVD:
.PP
.nf
.fam C
    $ affconvert \-M4g \-odvd.afd  bigfile.aff
.fam T
.fi
.SH SEE ALSO
\fBaffcat\fP(1), \fBaffcompare\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).