I installed the following Script on my CentOS 7 terminal access.
I'll use this script to upload specific directory from the Linux to
using the following command i can upload the directory manually.
./dropbox_uploader.sh -s upload /path/my/local/directory/ /path/my/remote/directory/
My question here:
I would like to automatic upload the directory whenever any changes done to this directory which can be determinate by directory size if I'm correct.
In a simple description: I would like to auto upload my directory whenever any changes done to it
How to done that? via
cronjob or there's a better way ?