Skip to content

folder_view โ€” text / hex viewer

Streams a file to stdout as text, or โ€” when it looks binary (a NUL byte) or with --hex โ€” as an offset/hex/ASCII dump. Reads in 64 KiB blocks, so it handles big files without loading them whole.

folder_view <file> [--hex | --text]
Option Description
--hex Force a hex dump
--text Force text output

Pipe through a pager to scroll:

folder_view notes.md
folder_view image.png --hex | less     # (mullion-fileman's F3 does this for you)

Exit codes: 0 ok ยท 2 usage / cannot open.