Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sonots/cronable_tail

A tail command which continues to read a file from the previously loaded line in the next execution
https://github.com/sonots/cronable_tail

Last synced: 2 days ago
JSON representation

A tail command which continues to read a file from the previously loaded line in the next execution

Awesome Lists containing this project

README

        

# cronable_tail

crontable_tail is a shell script to read log files in tail. It memorizes the line number which previously loaded, and continues reading from the next line on the next execution.

Furthermore, this script supports reading logrotated log files such as

/var/log/syslog.20130130
/var/log/syslog.20130131

This script reads the newly generated file too if such a file exists.

# Copyright

- Copyright (c) 2013- SEO Naotoshi (sonots)
- License: MIT License