Scroll to navigation

watchmedo(1) General Commands Manual watchmedo(1)

NAME

watchmedo - monitor file system events

SYNOPSIS

watchmedo task [options]...
watchmedo [option]

DESCRIPTION

This manual page briefly documents the watchmedo command.

watchmedo is a program that monitors for file system events. It is run with a task specified, which is one of the following:

tricks-from
Command to execute tricks from a tricks configuration file.
A synonym for tricks-from.
Command to generate Yaml configuration for tricks named on the command line.
A synonym for tricks-generate-yaml.
Command to log file system events to the console.
Command to execute shell commands in response to file system events.
Command to start a long-running subprocess and restart it on matched events.

OPTIONS

Each of these has a number of options and required parameters. More details can be found by running watchmedo task -h.

These programs also provide the usual GNU command line options:

Show summary of options.
Show version of program.

SEE ALSO

watchdog(3).
There is a little more information in the README file, available on Debian systems as /usr/share/doc/python3-watchdog/README.rst.gz.

Nov 2021