cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
We are making some updates so the Community might be down for a few hours on Monday the 11th of November. Apologies for the inconvenience and thank you for your patience. You can find out more here.

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.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Re: Cannot exclude username folder from Dropbox sync with linux server

Cannot exclude username folder from Dropbox sync with linux server

isoci
Explorer | Level 3

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 created by dropbox and I don't have to remove it. I can exclude folder A and/or B, but username is syncing always, despite i exclude it.

How can I delete or exclude folder?

22 Replies 22

Vincent B.10
Helpful | Level 6
Well, 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/*”

Здравко
Legendary | 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.10
Helpful | Level 6
Yeah 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…
Need more support?