FLOW-CAT(1)
π 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 withtmp. 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 ofmmap(). 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 betweenstart_timeandend_time. π-T end_timeβ select flow files after end_time. if you use it with-t, you get files betweenstart_timeandend_time. matching set, obsessed. π-z z_levelβ configure the compression level toz_level.0is disabled (no compression),9is 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
- fedora 43: flow-tools 0.68.5.1-45.fc43 Β· LicenseRef-Callaway-BSD
- fedora 43: flow-tools 0.68.5.1-45.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: flow-tools 0.68.5.1-46.fc44 Β· LicenseRef-Callaway-BSD
- fedora 44: flow-tools 0.68.5.1-46.fc44 Β· LicenseRef-Callaway-BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms