Bash script for auto detecting rar files in a specific path (recursively with find
) and extract contents accordingly.
setup.sh
will:
- create symlink at
/usr/local/bin/unarchiverr
- ensure a cronjob runs script every minute
- verbose logs are written to
/var/log/syslog
usinglogger
bash setup.sh /downloads