Install libfile-monitor-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libfile-monitor-perl
Description:
module to monitor file and directory changes
File::Monitor provides a simple interface for monitoring one or more files or directories and reporting any changes that are made to them. . It can: * Monitor existing files for changes to any of the attributes returned by the stat function * Monitor files that don't yet exist and notify you if they are created * Notify when a monitored file is deleted Notify when files are added or removed from a directory
Homepage: https://metacpan.org/release/File-Monitor
Version: 1.00-1
Section: universe/perl