Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 1.04 KB

README.md

File metadata and controls

31 lines (25 loc) · 1.04 KB

logman

A CLI log manager for .html & .txt chatlogs

Includes two scripts:

xtract

Used for logfile movements, automatically placing them in new, consecutively numbered session folders

Commands:
  xtract help [COMMAND]                # Describe available commands or one specific command
  xtract match [PATTERN] [SOURCE_DIR]  # moves files matching PATTERN at SOURCE_DIR to new subfolder
  xtract zip PATH                      # unzip a zipfile of logs into a new subfolder

srch

Used to browse logfiles

Commands:
  srch exec COMMAND PATTERN  # execute shell command on all logfiles whose name matches PATTERN
  srch fulltext PATTERN      # full text search for logfile lines matching PATTERN
  srch help [COMMAND]        # Describe available commands or one specific command
  srch name PATTERN          # list logfiles whose name matches PATTERN

Configuration

logman is meant to be platform independent and allow custom folder structures. These are managed via .ndexconf.yml.

Dependencies

  • the_silver_searcher
  • UNIX terminal