Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
isoci
3 years agoExplorer | Level 3
Cannot exclude username folder from Dropbox sync with linux server
Hello,
I have dropbox account, which is syncing with linux server. The problem is that i cannot exclude folder with username.
For example I have folder A, B and USERNAME. The username folder is c...
Jay
Dropbox Community Moderator
3 years agoWhen excluding the folder, did you place quotation marks around the folder in question if there are spaces in the folder name?
isoci
3 years agoExplorer | Level 3
Yed, this was on screenshot before it was blurred 😄
- isoci3 years agoExplorer | Level 3
Hello. Yes, I tried excluded whole folder or subfolder. The info was succesfull but it synchronizes >.<
- Megan3 years ago
Dropbox Community Moderator
Hi isoci, could you clarify the app's current syncing status, please?
If you could also send us a screenshot of the folders you chose to exclude that are still on the device, I'd appreciate it.
- Vincent B.103 years agoHelpful | Level 6
I also just got migrated to the new file structure, so I have "Company name" and "User name" folders in my Dropbox root. Excluding the company folder was easy enough:
"dropbox exclude add companyname"
I would however also like to exclude the "User name" folder, apart from one directory inside this folder ("User name/keep-syncing-this"). However running this:
"dropbox exclude add 'User name'"
says the folder is excluded, but when I run dropbox exclude list, it's not there. Excluding subdirs inside the "User name" folder works, but this is rather tedious since the contents of "User name" are in flux, so I will have to keep adding new subdirs to the exclusion list.
Is there a way to do this?
- Jay3 years ago
Dropbox Community Moderator
Hi Vincent B.10, are you certain that you're adding the folder correctly using the arguments given on this page?
- Vincent B.103 years agoHelpful | Level 6
Yep, pretty sure. As you can see in the screenshot below, I add the exclusion with "dropbox exclude add $username", which it confirms. But it doesn't show up in the exclusion list:
Edit: just to be clear, this is a business account.
- Walter3 years ago
Dropbox Community Moderator
Hey Vincent B.10, sorry to jump in here, but I just wanted to mention that by design users can't delete the team member folder on any platform.
I hope this clarifies matters.
- Vincent B.103 years agoHelpful | Level 6Hi Walter,
I don’t want to delete it, I want to exclude it. Is that the same thing, from Dropbox’s perspective?
Alsof, this is perhaps something for another topic, if I can’t exclude it, is it possible to use wildcards for excluding files in Dropbox on Linux? Adding all these directories by hand is not something I consider fun. - Nancy3 years ago
Dropbox Community Moderator
Hey Vincent B.10, I hope you're doing well.
I double checked this with the team, and they've confirmed that the team member folder can't be selsynced out.
Also, I'm afraid we don't offer support for wildcards, so I can't provide details on this. Perhaps, you can give it a try, and see if it'd work for what you wish to achieve.
- Vincent B.103 years agoHelpful | Level 6Well, I can confirm wildcards don’t work for excluding. This would be really handy though, to be able to do something like:
exclude add “user name/*” - Здравко3 years agoLegendary | Level 20
Vincent B.10 wrote:
... This would be really handy though, to be able to do something like:
exclude add “user name/*”Hm..🤔 and what about following:
find "user name" -mindepth 1 -maxdepth 1 -type d -exec dropbox exclude add {} +Isn't it handy enough? 😉
By the way... your shell syntax is wrong and not only Dropbox command cannot work in such a way. In fact you have disabled the wildcard feature. 😜 In such a way you're telling to the application (Dropbox application in particular) to look for star named file/folder (will never succeed, of course - there is no such).
- Vincent B.103 years agoHelpful | Level 6Yeah okay, my syntax was incorrect. Sorry for that, I was typing on my phone.
I realize there are ways to add multiple directories to the exclusion at once, but the thing is: directories get added to my Dropbox account all the time. Adding a cronjob to exclude new directories seems a bit silly…
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!