Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tail for directories
Python Shell
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
distro/archlinux
scripts
.gitignore
LICENSE
README.md
ditail.py
setup.py

README.md

ditail - Tail directory contents

Overview

ditail (said "detail") allows you to monitor new lines added to all files in a directory and its subdirectories. Any files added after startup will also be monitored.

ditail operates efficiently in a single thread/process thanks to asyncio and pyinotify.

Requirements

  • python>=3.4.2 or (python >= 3.3 and asyncio>=3.4.2)
  • pyinotify>=0.9.5

inotify is an API offered only by the Linux kernel, so ditail is limited to Linux-based operating systems.

Usage

$ ditail example/

For more information run ditail -h.

Install

From the PyPI via pip

System

$ pip install ditail

Current User only

$ pip install --user ditail

Ensure $HOME/.local/bin is in your shell's PATH variable.

Arch Linux

A PKGBUILD is available from the AUR.

License

The content of this repository is released under the GNU GPL v3.0 or later, as provided in the LICENSE file.

By submitting a "pull request" or otherwise contributing to this repository, you agree to license your contribution under the license mentioned above.

Something went wrong with that request. Please try again.