We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Jeff_S1
5 years agoExplorer | Level 3
sync only one folder on linux
I have a huge dropbox business account, and I'd like to sync one "deep" folder on a linux client. This folder is deep in the folder hierarchy, so for example the folder: "folder 1/folder 2/folder 3"...
Jeff_S1
5 years agoExplorer | Level 3
Ahh, OK. This makes sense. So, I need to include folder 1. Then exclude all children of folder 1. Something like:
dropbox.py exclude remove ~/Dropbox/folder 1
dropbox.py exclude add ~/Dropbox/folder 1/*
dropbox.py exclude remove ~/Dropbox/folder 1/folder 2
dropbox.py exclude add ~/Dropbox/folder 1/folder 2/*
dropbox.py exclude remove ~/Dropbox/folder 1/folder 2/folder 3
I'll give that a try...
jamespi
5 years agoHelpful | Level 5
Did you get this to work? I have a problem where I can't sync the single folder I want, because despite excluding all the other folders, dropbox still wants to download all of them first before then deleting the excluded ones. This doesn't work because my hard drive is not big enough to sync the entire dropbox folder.
I can't find a way to set up the exclude list in advance before syncing, and having it not even attempt to download the excluded folders. You mention having a 10TB dropbox, so I imagine this is a problem you would run into as well, unless I'm just being dumb somehow.
- Jay5 years ago
Dropbox Community Moderator
Hi jamespi, thanks for your message. I'd recommend contacting the support team to look into this matter in more detail.- Concerned Citizen4 years agoHelpful | Level 6
I would suggest this is a common use case and should be treated as a mainstream use of the product. I'm setting up a Minecraft server on Digital Ocean and just assumed it'd be easy to use Dropbox in this fashion. All I wanted to do was basically sync a directory like Games/Minecraft to this droplet, without having to first sync the entire service (which is prohibitively large for this VM). We need an --exclude * and then --include foo type of mechanism.
- sydsyd3 years agoHelpful | Level 5
Just wondering if this question was ever resolved/fixed.
I too would like to only have one folder, on the top level, of an account synced on my Linux headless server without having to have the whole account synced first before I can exclude all other folders.
About Create, upload, and share
Find help to solve issues with creating, uploading, and sharing files and folders in Dropbox. Get support and advice from the Dropbox Community.
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!