How to automatically run a command when directory updates?

This page summarizes the projects mentioned and recommended in the original post on /r/commandline

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • entr

    A utility for running arbitrary commands when files change. Uses kqueue(2) or inotify(7) to avoid polling. entr responds to file system events by executing command line arguments or by writing to a FIFO. entr was written to provide to make rapid feedback and automated testing natural and completely ordinary. (by clibs)

  • entr is what I usually reach for when I want to monitor a directory or a list of files and then perform some action on them when changes occur

  • watchexec

    Executes commands in response to file modifications

  • I prefer watchexec as it's cross-platform.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • entr

    Run arbitrary commands when files change

  • FYI that project was last updated Dec 30, 2014. I would stick with the currently maintained repo from the original author.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Watchexec

    1 project | news.ycombinator.com | 24 Apr 2024
  • Watchexec ignore directory?

    1 project | /r/linuxquestions | 26 Apr 2023
  • How to automatically extract all zip files downloaded to certain directory?

    1 project | /r/archlinux | 19 Apr 2023
  • My first actual Rust program: Cloak, a simple app to search and watch directories to automatically hide files and directories

    2 projects | /r/rust | 1 Apr 2023
  • is there a plugin to run any file (.py .js .java etc.) and display the output?

    4 projects | /r/vim | 29 Oct 2022