Skip to main content

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-2023.12.1.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

tailng-2023.12.1-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file tailng-2023.12.1.tar.gz.

File metadata

  • Download URL: tailng-2023.12.1.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for tailng-2023.12.1.tar.gz
Algorithm Hash digest
SHA256 a8406daf6b6f90b2db68b0db1075b8036424a2f8d7ddceaee4e383d14cb65026
MD5 d329fd506f5ba35bdd6b3b52ebee7214
BLAKE2b-256 ef88ac2c1c3cef2ef9e9aeaa8552d452af6e871af1fbbd07cbd70195e5ce55cc

See more details on using hashes here.

File details

Details for the file tailng-2023.12.1-py3-none-any.whl.

File metadata

  • Download URL: tailng-2023.12.1-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for tailng-2023.12.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7ff74bce9c9986d95e7e82185013ed2dd37bf47918a0b9601928ca4251edbd2e
MD5 2351ac63f96eb7c9cc29dfc48473d1d1
BLAKE2b-256 91d8529bbb51426f41975133f713d097958b92090af7b50fefa115f26d0e1edc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page