FLOW-CAT(1)

πŸ“¦ version 0.68.5.1, in fedora 43, fedora 44

πŸ’– FLOW-CAT(1) β€” the manual page, but make it cute πŸ’–

okay bestie, welcome to FLOW-CAT(1), section 1 of the manual, and no cap this one is a whole vibe. it's the flow-tools classic, and it's about to make concatenating flow files feel like a group chat glow-up. ✨


🌸 NAME 🌸

flow-cat β€” concatenate flow files. that's it, that's the whole job, and she does it flawlessly. πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

flow-cat [ -aghmp ]  [ -b big|little ]  [ -C comment ]  [ -d debug_level
]  [ -o filename ]  [ -t start_time ]  [ -T start_time ]  [ -z z_level ]
[ file|directory... ]

yes she takes all of those flags, she's highkey versatile, and you're gonna love her for it. 🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

so flow-cat processes files and/or directories of files that are chillin' in the flow-tools format. the resulting concatenated data set gets written to standard output, or to a file if you hit it with -o.

and listen β€” if file is a single dash (-), or if it's just... not there at all? flow-cat will read from standard input. she's flexible like that, main character energy fr fr. 😌


✨ OPTIONS ✨

  • -a β€” do NOT ignore filenames that begin with tmp. she sees them, she processes them, she does not skip. πŸ‘€
  • -b big|little β€” byte order of the output. pick your endianness, bestie.
  • -C Comment β€” add a comment. drop a lil note, like a sticky note but for flows. πŸ“
  • -d debug_level β€” enable debugging. when things are giving mystery, this is your girl.
  • -g β€” sort the file list by capture start time before processing. chronological queen. πŸ‘‘
  • -h β€” display help. when in doubt, ask for help, that's growth. 🌱
  • -m β€” disable the use of mmap(). no memory mapping today, we're doing it the other way.
  • -p β€” preload headers. use this to preserve meta information such as lost flows. lowkey important, don't sleep on it. 😀
  • -o file β€” write to file instead of standard out. redirect your destiny. πŸ’«
  • -t start_time β€” select flow files up to start_time. if you use it with -T, you get files between start_time and end_time. πŸ’–
  • -T end_time β€” select flow files after end_time. if you use it with -t, you get files between start_time and end_time. matching set, obsessed. πŸŽ€
  • -z z_level β€” configure the compression level to z_level. 0 is disabled (no compression), 9 is highest compression. glow-up levels, pick your intensity. πŸ”₯
  • file|directory... β€” process the files and/or directory. that's your input, bestie, hand it over. 🫴

⏰ TIME/DATE PARSING ⏰

start_time and end_time parsing is implemented with getdate.y β€” a commonly used function that processes free-form time date specifications. like, you can just talk to it and it gets it. iykyk.

example usage borrowed from cvs:

1 month ago 2 hours ago 400000 seconds ago last year last Monday yesterday a fortnight ago 3/31/92 10:00:07 PST January 23, 1987 10:05pm 22:00 GMT

she's multilingual in time and honestly? iconic. πŸ•°οΈβœ¨


🌈 EXAMPLES 🌈

example the first: concatenate all flow files begining with ft-v05.2001-05.01, then use flow-print to display the results.

flow-cat ft-v05.2001-05-01.* | flow-print

example the second: concatenate flow files in /flows/krc4, and store the output in compressed.flows at compression level 9 (best). the headers are preloaded so various metadata such as the flow count is correct in the result. filenames begining with tmp β€” which are typically in-progress flow files from flow-capture β€” are not processed.

flow-cat -p -z9 /flows/krc4 > compressed.flows

see how easy that was? slay. πŸ’…


πŸ’€ BUGS πŸ’€

None known.

(not a single one. she's flawless. periodt. πŸ‘‘)


πŸ‘‘ AUTHOR πŸ‘‘

Mark Fullmer <maf@splintered.net>


🌸 SEE ALSO 🌸


and that's the whole page, bestie!! this version of FLOW-CAT(1) came from flow-tools, dated 26 Август 2010 β€” so go forth, concatenate responsibly, and remember: you're doing amazing. mwah. πŸ’–πŸŽ€πŸ¦‹βœ¨

πŸ“¦ where this page comes from