Celeb Glow
general | March 31, 2026

How to sync changed files only with Dropbox using dropbox-uploader.sh?

How to sync changed files only with Dropbox using dropbox-uploader.sh?

Hello,

I want to know how to sync changed files on my local machine using dropbox-uploader.sh by Andrea Fabrizi.

Let's say I edit a text file locally (test.txt).

I want dropbox-uploader.sh to upload that changed file and only that file automatically to Dropbox. I guess automatically scan a folder recursively for changed files every x minutes or a similar approach.

Can it be done and if so how?

Ubuntu 17.10

Vesa

3

1 Answer

Let say your file is under /home/vesa/test.txt and the script location is /home/vesa/dropbox_uploader.sh You can run the upload manually by

/home/vesa/dropbox_uploader.sh upload /home/vesa/test.txt .

The dot mean at the end is root folder in Dropbox.

You can set the automatically upload in crontab. It will upload the test.txt file in every 5 minutes:

*/5 * * * * /home/vesa/dropbox_uploader.sh upload /home/vesa/test.txt .

More commands and parameters are available on GitHub page.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy