Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
GTFreymann
2 years agoExplorer | Level 3
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 o...
- 2 years ago
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/AppsGood luck.
GTFreymann
2 years agoExplorer | Level 3
I don't know this is difficult to understand.
I have Dropbox.com - it contains a lot of files I want to keep in the cloud. On some of my windows computers, I don't sync the entire collection as some folders are meaningless to have on every computer that I have the Dropbox client installed on.
Now I have a Debian VPS and I want share backup files on the Debian VPS with Dropbox.com but I don't want to have all of my Dropbox.com files shared down to the Debian VPS. When I run the dropbox client on the Debian box it immediately wants to sync my entire Dropbox.com file collection. I don't want any of my other dropbox.com files to sync on this particular device.
On my windows clients, I have to go into preferences, sync, selective sync and un check folders I don't want.
I don't know how you do this through the command line on Debian. I'm just looking for clarification on the command to use on the CLI interface as this is a headless VPS in the cloud.
Здравко
2 years agoLegendary | Level 20
Hi again GTFreymann,
Yes, I understand and fully agree with you. A prize "most stupid sub-commands names" should comes to the Dropbox designer has proposed that names.
All your steps you have till now are correct and matching to your intention! The only incorrect thing is the interpretation of the sub-commands names. Here "remove" means to remove something from a list of excluded folders! Do you have some folder excluded at the moment? 🧐 I suspect no. So no any result may be expected. Opposite, "add" means to add the pointed folder to the exclude list and remove from the local Dropbox folder (not opposite 😉, as you might think).
Opposite of any logic, set a checkmark in GUI Selective sync preferences is the same like removing folder from exclude list and opposite - adding folder to exclude list is the same like removing checkmark from Selective sync preferences.
Hope it's a bit more clear now.
PS: Maybe it would be easier for you just to think for "add" subcommand as "remove" and for "remove as "add".
ADD: One more clarification about the terms in use. "ignore" and "exclude" are completely different things! They have just opposite meaning; I saw you have them used interchangeably!
- GTFreymann2 years agoExplorer | Level 3
Ok, so something like this would tell the dropbox client on the debian VPS to "not" sync this folder from dropbox.com to debian, where "Apps" is a folder containing files...
./dropbox.py exclude add Apps
- Здравко2 years agoLegendary | Level 20
If your current working directory is Dropbox, Yes. Keep in mind that the folders are paths, not just some names!
PS: You can easy check whether you can expect result from the posted command using something like:
ls -ld AppsIf the last command succeeds, then the your will succeed too.
- GTFreymann2 years agoExplorer | Level 3
Ok, so the folder "Apps" is on Dropbox.com and I don't want to sync it down on the Debian box. Will that syntax work?
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!