AFFCAT(1)
β¨ 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 numbernnn. One page, no drama π.-S nnnβ Just output data sector numbernnn. Sector#0is 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 outputscountcharacters in each file π¦. You can repeat it as many times as you want.
β οΈ Bestie,-bchanges what shows up for bad blocks. Default is NULLs, so only use-bif 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> π«‘
π₯ COPYRIGHT π₯
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
- 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
- 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 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