Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can i dump files from my CentOS box to Dropbox account? As regular nightly backup task.

share|improve this question
up vote 4 down vote accepted
0 1 * * * cp -a /tmp/files ~username/Dropbox/tmp_backups_$(date +%Y%m%d)

Breakdown: Every day at one am make an archive copy of /tmp/files into a folder with the date as part of the name in 'username's dropbox.

share|improve this answer
I fail to see how it makes it to dropbox.com. Is it assumed that client/daemon is running and will sync ~user/Dropbox automagically? – alex Jun 27 '11 at 5:06
@alex: Yes. Once the daemon is installed and the user account configured, any file placed or edited inside the Dropbox folder will trigger a re-sync. – Caleb Jun 27 '11 at 8:59

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.