Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eccenux/tail.py
https://github.com/eccenux/tail.py
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/eccenux/tail.py
- Owner: Eccenux
- License: mit
- Created: 2014-07-17T09:49:03.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-07-17T10:08:31.000Z (over 10 years ago)
- Last Synced: 2023-04-08T15:27:39.920Z (over 1 year ago)
- Language: Python
- Size: 141 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Tail.py
=======This is a small `tail` like program that should be system independent (should work on Windows, Linux and Mac).
Currently it simply outputs last line of file and observes the file continuously until your press `CTRL+C`.
Usage
-----
```bash
tail.py your_file.log
```Note. The scripts where tested on Python 2.6 and should work on any above.
If it doesn't work for you - please file a bug.
Why this script?
----------------Because when you redirect output on Windows command line to a file you will NOT be able to observer it's output. Probably because flushing issues.
Here are some [other ways to observer file on Windows](http://www.stackify.com/11-ways-to-tail-a-log-file-on-windows-unix/) (note that I tested most of them and they didn't work for redirected output).