Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

GTFreymann's avatar
GTFreymann
Explorer | Level 3
2 years ago
Solved

Dropbox on Debian 12. But it wants to sync all of my Dropbox files down to the debian box.

I successfully installed Dropbox on a headless Debian 12 VPS. I authorized it and it works. 

 

I am hoping to be able to backup files on the debian machine to my Dropbox account, as I have lots of room on my Dropbox.

 

However, when I start Dropbox it then wants to sync all of my Dropbox files down to the debian box which I don't want.

 

I tried some command line options using the python script:

./dropbox.py exclude remove Apps

Where "Apps" is a folder in my dropbox that I don't want to sync down to the Debian box.

I believe this resulted in the Apps folder being deleted from Dropbox!! I had to go to deleted files and restore.

 

So my Dropbox has all sorts of files in it... and I don't want any of those files/folders to be synced down to the Debian box. I can't figure out the syntax to use to tell dropbox on the debian box to ignore syncing specific folders that are in my dropbox.

 

Once I can get dropbox to stop pulling down all those files, then I just want to symlink a backup directory into the Dropbox folder on the Debian box, and have those backup files go out to Dropbox. That should be as easy just dropping files into the Dropbox folder on the debian box.

 

I'm sure the command is easy but now I'm afraid to play more because I don't want it to fill up my debian drive and I don't want to risk deleting files on dropbox.

  • Once again: Your command will work only when your current working directory is the Dropbox folder! In such a way the folder name is path too. Otherwise no.

    To work in all cases you may try something like:

    ~/dropbox.py exclude add ~/Dropbox/Apps

    Good luck.

13 Replies

Replies have been turned off for this discussion

About Apps and Installations

Have a question about a Dropbox app or installation? Reach out to the Dropbox Community and get solutions, help, and advice from members.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!