Bash script that detects changed and new files
Find a file
2026-06-10 13:42:39 +02:00
src Put search patterns in a configurable array 2026-06-10 13:42:39 +02:00
LICENSE Initial commit 2026-06-10 11:03:54 +00:00
README.md Update README 2026-06-10 13:24:51 +02:00

jnewfiles

Bash script for Linux servers that detects changed and new files.

Installation instructions:

  1. Clone or download this repository.
  2. Install the jnewfiles script from the src folder in the folder /usr/local/sbin in your server.
  3. Make the script execitable: chmod +x /usr/local/sbin/jnewfiles.
  4. Add a cronjob for user root to run the script every hour (replace you@yourdomain.com with your personal emailaddress):
    20 * * * * /usr/local/sbin/jnewfiles -n you@yourdomain.com >/dev/null 2>&1
  5. You can run the script on the commandline to see the options: jnewfiles -h.