AFFCAT(1)

πŸ“¦
version 3.7.22 Β· 2 versions
, in debian trixie, epel 10, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ AFFCAT(1) β€” General Commands Manual ✨

affcat is the one for getting an image's contents out, and it's giving main character. πŸŽ€

🌸 NAME 🌸

affcat β€” Output contents of an image file to stdout. πŸ’–

πŸ¦‹ SYNOPSIS πŸ¦‹

affcat [options] image [images]

πŸ’… DESCRIPTION πŸ’…

okay so affcat spits out the contents of an image file straight to stdout πŸ–¨οΈβœ¨. Image files that aren't raw but that AFF recognizes come out in raw format, so you get the clean version every time 🫢. Missing pages don't get padded, but if you use -n it'll let you know on STDERR that they're gone πŸ‘€.

The options are as follows, bestie 🧚:

  • -s name β€” Output the named segment instead of the image data. Lowkey the move if you just want the metadata πŸ“.
  • -p nnn β€” Just output page number nnn. One page, no drama πŸ“.
  • -S nnn β€” Just output data sector number nnn. Sector #0 is the first sector, so start counting from zero, babe πŸ’œ.
  • -q β€” Quiet mode, and it's the default 🀫. Won't print to STDERR if a page gets skipped because it isn't there.
  • -n β€” Noisy mode πŸ“’. Tells you when pages get skipped. Highkey iconic if you wanna know what's missing.
  • -l β€” List all the segment names instead of dumping the data πŸ“‹.
  • -L β€” List Long πŸ“. Prints segment names, lengths, and args all together.
  • -d β€” Debug mode πŸ”. Prints the page numbers to stderr while the data goes to stdout. Like a live feed, periodt.
  • -b β€” Outputs BADFALG for bad blocks. The default is NULLs, so if you want the bad blocks flagged instead, this is your girl 🚩.
  • -v β€” Just prints the version number and exits πŸ”’. In and out, no cap.
  • -r offset:count β€” Seeks to the given byte offset and outputs count characters in each file πŸ¦„. You can repeat it as many times as you want.
⚠️ Bestie, -b changes what shows up for bad blocks. Default is NULLs, so only use -b if you actually want BADFALG in there instead.

🌈 HISTORY 🌈

affcat first appeared in AFFLIB v1.00 πŸŽ‚. Iconic origin story, honestly.

πŸ‘‘ AUTHOR πŸ‘‘

Simson Garfinkel <simsong@acm.org> 🫑

This file is a work of a US government employee, so it's in the Public domain πŸ‡ΊπŸ‡ΈπŸ’œ. No copyright drama, we love to see it.


Bye bestie! This page is from User Manuals, dated OCT 2008, and it's all about AFFCAT(1). Stay iconic πŸ’–βœ¨πŸ«Ά

πŸ“¦ where this page comes from