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
jvasileff
6 years agoHelpful | Level 6
Feedback on the new desktop app "ignore files" feature.
@Daphne that's great news! I look forward to trying it out.
But it would also be nice to have a configuration file, like ".dropboxignore", to list paths or patterns to exclude. The reason is that extended attributes are tied to the actual file or folder, and will be gone if the file or folder is deleted and recreated.
The common use case for this is a software build folder that gets deleted and recreated on clean builds. Under xattr system, the "new" build folder would sync to Dropbox even if the "old" build folder had the necessary com.dropbox.ignored xattr.
- XionicFireCollaborator | Level 9
Guys i have coded a workaround to fix this problem, linking it here so any changes are recorded in one central post.
[Registry File] Functionality: Add Ignore File/Folder to Right Click Context Menu (Windows) v1.1.0
- XionicFireCollaborator | Level 9
Yes i ran into the same problem with dropbox using ( ) in the name for the business dropbox, on my main servers i solved this problem by saving one of my old dropbox installation files that had my dropbox set to D:\Dropbox before they made the forced change, i then created a directory called Dropbox (W) and removed permissions so dropbox cant touch it, this way I have my dropbox still as D:\Dropbox which does not break all my scripts, not the most elegant solution but its the only way i found to keep my dropbox as Dropbox and not break my scripts.
- XionicFireCollaborator | Level 9
Thanks for the suggestion i will update the code.
- waynelambertNew member | Level 2
Yes, this simply needs to be a file which can be dropped into the root folder of your project called `.dbignore` which behaves in the same way as a `.gitignore` or a '.dockerignore' file in that the files are ignored for sync.
This would be so helpful when developing a project and not wanting package files or virtual environment files to be synced.
I can't tell you the number of times that I have had to log in to dropbox.com to delete all of the instances of `_______(Selective Sync Conflict)` folders from my project.
It also means that so many more files than is necessary is synced which takes uncessary syncing time.
This surely cannot be that hard to implement.
- anticoHelpful | Level 5
this can do it by terminal. If there was a way to do it simple it will be fantastic!
- VercjamesExplorer | Level 3
Regards,
As an avid daily dropbox user and sr. programmer, rely on dropbox to synchronize my website folders across all my work stations. While I could use git pulls to synchronize my code folder files, I have thousands of other assets that I want to be synced alongside my codebase. Froma general workflow perspective, dropbox is meeting all my needs and is fast and efficient at accomplishing this task, at least until you get down to downloaded packages. For the developers in the room, you'll know what I'm talking about. "node_modules" or any other package system like "bower_components". When committing to git we use a .gitignore file to prevent these items from synching, I hope that dropbox will create a feature to support this. Now many people will say "they do, its called Selective Sync" however it doesn't work for 2 reasons. Firstly, I have to manually drill into each project folder to exclude the folder meaning that each new project I add to dropbox has to have a custom configuration. and Secondly, even when I do engage this feature, dropbox just starts making its own folders calling them:
- "node_modules conflict 1"
- "node_modules conflict 2"
- "node_modules conflict 3"
- etc...
l humbly suggest dropbox create some sort of .gitignore system so I can globally exclude generated files regardless of where they are nested inside my dropbox.
- coryluluHelpful | Level 7
David L.31 Use -LiteralPath instead of -Path in the Set-Content command. If you have certain characters like brackets or anything in the path, -Path won't work.
- David L.31Helpful | Level 5
@corylulu Same result:
PS D:\DropBox> mkdir test_ignore Directory: D:\DropBox Mode LastWriteTime Length Name ---- ------------- ------ ---- d---- 25/08/2020 08:52 test_ignore PS D:\DropBox> Set-Content -LiteralPath D:\DropBox\test_ignore -Stream com.dropbox.ignored -Value 1 Set-Content: Unable to clear content of 'D:\DropBox\test_ignore' because it is a directory. Clear-Content is only supported on files. PS D:\DropBox>
- coryluluHelpful | Level 7
David L.31 check the casing of Dropbox in the path maybe? This works on my desktop. Are you are Windows 10? That said, for me, this feature isnt even that helpful because it still attempts scan all the files inside and will lock them during compiles and whatnot. I've resorted to symlinks to get Dropbox to ignore them.
- David L.31Helpful | Level 5
corylulu Yes, the casing is correct, and yes, I'm on Windows 10. The exact same command will work fine in in Powershell v1, but not in Powershell v7. I recently switched to version 7 to support AWS commandlets that I needed, but now have to resort to old powershell when creating new projects (or node_modules accidentally gets deleted). And it is a dogs breakfast during compilation.
I thought Dropbox had changed how symlinks worked so that they _are_ synced now?
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.
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!