You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
GMoneyy
2 years agoExplorer | Level 4
Exclude folder from syncing - but KEEP on desktop
I can't seem to find an answer to this issue specifically. I have a folder within a folder that contains many files I do not want added to my dropbox. Attempting to use selective-sync, I went into my Dropbox preferences on my Macbook and deselected the folder from syncing, however, when I clicked update, it get deleted the folder from my desktop and is only available on dropbox.com. I would like to keep the files on my desktop, but not have them added to my dropbox.
I tried using this article (https://help.dropbox.com/sync/ignored-files) to use terminal to specifically exclude this folder from syncing, however, I cannot seem to get the code correct and keep receiving error messages in terminal. I am not quite sure where here:
xattr -w com.dropbox.ignored 1 /Users/yourname/Dropbox\ \(Personal\)/YourFileName.pdf
Where I am supposed to begin adding my file path, etc?
Previous to this, I would 'right-click' on a folder and use the dropdown menu to exclude it from sync-ing to dropbox. However, that seems to not be available now?
I have also gone on dropbox.com to attempt to see if I can find away to exclude this folder, but I cannot. Is there any way I can keep this folder where it is, exclude it from Dropbox, and have it remain on my computer?
[MacOS: 13.2.1 (22D68)]
Hi GMoneyy, thanks for messaging the Community!
If you choose 'Get info' on the folder in question, you would get the full file path.
That is where you would replace the example files path in the command line for Terminal.
If you have any further queries, feel free to message back.
- GMoneyyExplorer | Level 4
Thank you! I was able to figure out what to type into terminal and excluded the folder along with a few extra large files.
Thanks again for your help!
- irenesfHelpful | Level 5
Many of us want to have some fires only on the computer, not on DB. But we prefer not to use Terminal. I think we can have folders in our Home folder but outside the library where DB now lives, that would work. However we would prefer to have a folder on the always visible Desktop to work with!
Any suggestions?
- deniserectorExplorer | Level 3
the directions at https://help.dropbox.com/sync/ignored-files are quite poor for mac users
here is how mac users can exclude files
mac users should
- go to the file/folder you want to exclude
- right-click for 'get info'
- right click on file path and click on the balloon 'copy as file path'
- open textedit and paste - you will need this in a moment
open textedit
copy this from the instructions on the other page
xattr -w com.dropbox.ignored 1 /Users/yourname/Dropbox\ \(Personal\)/YourFileName.pdf
where /Users is, delete that and everything after it, and paste in what you took from Get Info --in other words you should havexattr -w com.dropbox.ignored 1 (and then paste your getinfo)
and THEN what you copied from Get info
then copy your new xattr info into terminal, paste, and hit enter.
I spent 20 min following the other directions with no success.
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.
Need more support
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 or Facebook.
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!