Search K
Appearance
Appearance
fname-parse.pl [filename]
Parse given filename(s) and output the appropriate file type and creation time. You can supply the filename as a single parameter or via stdin. It's also possible to feed the logs with paths in them directly via stdin.
Output is a tab-separated line containing the filepath the type and the timestamp. Example:
fname-parse.pl bundle.5e6205ad.42fb6.f05e5a10ad05625e0dbf0000b70eb21c.host
bundle.5e6205ad.42fb6.f05e5a10ad05625e0dbf0000b70eb21c.host bundle-base 2020-03-06 09:11:25
Supported types are:
bundle-self
bundle-diff
bundle-base
fts
mail
unknown