Like tail -F, but it always follow the newest file
Project description
tailng
Python project: Like "tail -F", but it always follow the newest file
Usage
Examples
$ tailng
Now following testfile1 from position 108
1 4 Fri Dec 22 10:02:34 AM UTC 2023
1 5 Fri Dec 22 10:02:35 AM UTC 2023
Now following testfile2 from position 0
2 1 Fri Dec 22 10:02:36 AM UTC 2023
2 2 Fri Dec 22 10:02:37 AM UTC 2023
2 3 Fri Dec 22 10:02:38 AM UTC 2023
2 4 Fri Dec 22 10:02:39 AM UTC 2023
2 5 Fri Dec 22 10:02:40 AM UTC 2023
Now following testfile3 from position 0
3 1 Fri Dec 22 10:02:41 AM UTC 2023
3 2 Fri Dec 22 10:02:42 AM UTC 2023
3 3 Fri Dec 22 10:02:43 AM UTC 2023
Install
Install from Python Package Index
pip3 install tailng
Install from source
git clone https://github.com/thordreier/tailng.git
cd tailng
git pull
pyproject-build
pip3 install $(ls dist/tailng-*-py3-none-any.whl | tail -n1) --force-reinstall
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tailng-2024.4.0.tar.gz
(5.2 kB
view details)
Built Distribution
File details
Details for the file tailng-2024.4.0.tar.gz
.
File metadata
- Download URL: tailng-2024.4.0.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97278235b3dad75c9447e912debc00fb19371e29032eed585ede1da77c8651d7 |
|
MD5 | d38ef4391568ba276917d099d14ca342 |
|
BLAKE2b-256 | 9fefa09d9e77ce3a97de5ad61e04d5baa1124480ba3d4fcbdd1efd32501f2bf4 |
File details
Details for the file tailng-2024.4.0-py3-none-any.whl
.
File metadata
- Download URL: tailng-2024.4.0-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8e990e3b6770da6e49b879bbbee624400b20112b81212ad6f32245bcc5a744f |
|
MD5 | ed66875eb205bb5f0105181ab180a550 |
|
BLAKE2b-256 | 10d5cc50d751d4f26dae7f6becf2ab84784ebf3477d48b7d6af6abf579c4f1e6 |