for...ize(1)
π NAME π
forensics-colorize β bestie, this is the whole vibe: show differences between files using color graphics. Like, instead of squinting at a diff for three hours, you get a picture. Iconic.
β¨ SYNOPSIS β¨
filecompare [-b size[bkmgpe]] [-Vh] FILE1 FILE2
colorize [-h|-V] [-w <num>] [-ovd] FILES
two little commands, one big glow-up. π¦
π DESCRIPTION π
okay so forensics-colorize is a set of tools to visually compare large files, like filesystem images, by making graphics out of them. it's intuitive because the produced graphics give you a quick and perfect sense about the percentage of changes between two files. no cap. π
comparing large textual files using a simple diff can produce a very big result in lines, causing confusion. and lowkey? diff is improper to compare binary files. it's giving "not the right tool, bestie." π
so forensics-colorize uses two command line programs: filecompare and colorize.
- the
filecomparecommand is used to create a special and auxiliary input file forcolorize. - the
colorizecommand will generate an intuitive graphic that will make it easier to perceive the level of changes between the files.
in other words, you can use the filecompare command to generate a graphic to be analyzed by the colorize command. teamwork, but make it forensics. π«Ά
π₯ OPTIONS FOR FILECOMPARE π₯
-bβ set block size with optional suffixb,k,m,g,p, ore. note that the program will output at least one complete block. make sure that you have enough disk space! π«£
for real though, check your disk space first. this one will eat it.
-tβ use transitional colors instead of default red or green. π-Vβ display version number and exit. β-hβ display this help message.
π OPTIONS FOR COLORIZE π
-dβ change direction data flows. default is down or right. π-oβ change image orientation. default is vertical. π-vβ verbose mode. she talks. π£οΈ-wβ set output image width, defaults to100. π-Vβ display version number and exit. β¨-hβ display this help message and exit. π
πΈ EXAMPLES πΈ
to generate an initial graphic between 'test1' and 'test2' files to be analyzed by colorize:
$ filecompare test1 test2 > test.fc
to analyze the result:
$ colorize test.fc
the last command will generate the test.fc.bmp file. you can open it using a trivial image viewer, as sxiv or similar. obsessed. π
if using default parameters for both commands (filecompare and colorize), unchanged parts will be shown as green and changed parts will be colorized with red. π
to get larger or smaller final graphics, use the -b option for the 'filecompare' command. as an example, the following command will produce a result greater than the default:
$ filecompare -b 64 test1 test2 > test.fc
β οΈ NOTE β οΈ
in most cases, the default block size is the same as the logical disk sector value (now a days, 512 bytes). try 'fdisk -l' or 'gdisk -l /dev/<disk>' to find the right value. π don't guess β go look it up.
π AUTHOR π
the forensics-colorize was written by Jesse Kornblum <research@jessekornblum.com>.
this manual page was written by Joao Eriberto Mota Filho <eriberto@debian.org> for the Debian project (but may be used by others).
okay that's the whole page, bestie, tysm for reading π this was forensics-colorize-1.1, dated Sep 2015 β main character energy since 2015, fr fr. mwah. π
β¨
π¦ where this page comes from
- debian bookworm: forensics-colorize 1.1-7 Β· GPL-3.0-only
- debian trixie: forensics-colorize 1.1-7 Β· GPL-3.0-only
- ubuntu jammy: forensics-colorize 1.1-6 Β· GPL-3.0-only
- ubuntu noble: forensics-colorize 1.1-7 Β· GPL-3.0-only
- ubuntu questing: forensics-colorize 1.1-7
- ubuntu resolute: forensics-colorize 1.1-7build1 Β· GPL-3.0-only
- ubuntu stonking: forensics-colorize 1.1-7build1 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms