Bash script that detects changed and new files
- Shell 100%
| src | ||
| LICENSE | ||
| README.md | ||
jnewfiles
Bash script for Linux servers that detects changed and new files.
Installation instructions:
- Clone or download this repository.
- Install the jnewfiles script from the src folder in the folder /usr/local/sbin in your server.
- Make the script execitable:
chmod +x /usr/local/sbin/jnewfiles. - 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 - You can run the script on the commandline to see the options:
jnewfiles -h.