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