affconvert(1)
β¨ NAME β¨
Heyy bestie π¦ okay so this is the page for affconvert(1), and the name is affconvert π
It's a convert files between RAW and AFF formats kind of tool π
πΈ SYNOPSIS πΈ
affconvert [options] file1 [... files]
So you toss in whatever options you want, then file1, plus as many more files as you feel like π§
π DESCRIPTION π
Okay this tool does three glow-ups: RAW to AFF, AFF to RAW, and AFF to AFF, which is basically recompressing or uncompressing your AFF file π₯
β οΈ WARNING: the source file must have 'raw' or 'aff' as extension in name. No cap, your filename needs that extension or it's not happening π
This tool is part of the AFFLIBv3, which is the library that actually provides AFF β¨
AFF is an open and extensible file format for storing disk images plus their associated metadata. It's super useful in lots of scenarios, like computer forensics investigations π main character energy, honestly π
π OPTIONS π
General options
-qβ Quiet mode π€« It won't ask you questions and it won't print status updates.-Vβ Just prints the version number and exits. Quick and clean π
AFF output options
-a<ext>β Use 'ext' as the extension for aff files. The default is aff, or afd for AFD files π-Lβ Uses the LZMA compression algorithm. It's better, but slower π’-Mn[kmg]β Sets the maximum size of the output file. Suffix it with k, m, or g. Use it with-oπ-O<dir>β Uses 'dir' as the output directory. Example:-Otest. Heads up, you need to create the directory yourself first! π-o<dir>.afdβ Outputs to 'dir'.afd. This can only convert one file at a time π If the file ends in .aff, it's treated as AFF. Otherwise it's assumed to be raw. The directory must have .afd as its extension.-s<n>β Sets the image_pagesize to 'n'. The default is 16777216 β¨-xβ Don't compress the AFF file π§-X<n>β Sets compression to 'n'. The default is 7 π¦
Raw output options
-e<ext>β Use 'ext' for the raw files. The default is raw. This one implies-rπ§-rβ Generates raw output πΈ
Dangerous input options
πΆοΈ These ones are spicy, bestie. Read before you use them π
-yβ Always answers yes/no questions with 'yes.' Very confident, very risky π-Zβ Does not automatically probe for gzip/bzip2 compression π ββοΈ-zβ ZAPS (deletes) the output file if it already exists. Yes, it's actually deleting it π Be careful with this one, okay?
π EXAMPLES π
Convert file1.raw to file1.aff:
$ affconvert file1.raw
Convert file1.aff to file1.raw:
$ affconvert -r file1.aff
Batch convert files:
$ affconvert file1.raw file2.raw file3.raw
$ affconvert -r file1.aff file2.aff file3.aff
Split an AFF file into 4GB chunks for archiving to DVD:
$ affconvert -M4g -odvd.afd bigfile.aff
π¦ SEE ALSO π¦
affcat(1), affcompare(1), affcopy(1), affcrypto(1), affdiskprint(1), affinfo(1), affix(1), affrecover(1), affsegment(1), affsign(1), affstats(1), affuse(1), affverify(1), affxml(1) π
π AUTHOR π
The AFFLIB was written by Simson L. Garfinkel <simsong@acm.org> and Basis Technology, Inc. Iconic energy π
This manual page was written by Joao Eriberto Mota Filho <eriberto@debian.org> for the Debian project (but may be used by others) π«Ά
And that's the whole page, bestie π AFFCONVERT 3.7.4 from Oct 2014, periodt β¨
π¦ where this page comes from
- debian bookworm: afflib-tools 3.7.20-1 Β· LicenseRef-public-domain
- debian trixie: afflib-tools 3.7.21-1 Β· LicenseRef-public-domain
- epel 10: afftools 3.7.20-12.el10_0 Β· LicenseRef-Callaway-BSD-with-advertising
- epel 9: afftools 3.7.20-1.el9 Β· BSD with advertising
- fedora 43: afftools 3.7.20-15.fc43 Β· LicenseRef-Callaway-BSD-with-advertising
- fedora 44: afftools 3.7.22-4.fc44 Β· LicenseRef-Callaway-BSD-with-advertising
- nixos 26.05: afflib 3.7.22
- nixpkgs unstable: afflib 3.7.22
- ubuntu jammy: afflib-tools 3.7.19-2build1 Β· LicenseRef-public-domain
- ubuntu noble: afflib-tools 3.7.20-1.1ubuntu5 Β· LicenseRef-public-domain
- ubuntu questing: afflib-tools 3.7.22-1
- ubuntu resolute: afflib-tools 3.7.22-1build1 Β· LicenseRef-public-domain
- ubuntu stonking: afflib-tools 3.7.22-3 Β· LicenseRef-public-domain
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms