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.8.0.tar.gz
(5.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tailng-2024.8.0.tar.gz.
File metadata
- Download URL: tailng-2024.8.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 |
fd90ba1df53e5fd765632aa0f5abcd3bdf99a0c4a4abf44d5e610d322c49e5d6
|
|
| MD5 |
ba4797589dfce785babbe0b2c929780d
|
|
| BLAKE2b-256 |
540eba7066dff7dfcfd4b49352405f31492045c7464ef6c61e2ed1c7b932a917
|
File details
Details for the file tailng-2024.8.0-py3-none-any.whl.
File metadata
- Download URL: tailng-2024.8.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 |
bbc5c4ae09569549a4bc83c95dbed0daed755d0fd3846b2273471d24b151dc5d
|
|
| MD5 |
a6df8936e752f7ab1006ecfc9de599ab
|
|
| BLAKE2b-256 |
dbc72b448ae81830df7291eebc8e0e3ded4c670770014a3e4c3891eac35ebf34
|