Need to see if your shared folder is taking up space on your dropbox π¨βπ»? Find out how to check here.
Forum Discussion
jvasileff
7 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.
100 Replies
Replies have been turned off for this discussion
- XionicFire6 years agoCollaborator | Level 9To explain myself better, you can do a .ps1 powershell script that runs every 5 minutes or w/e using windows scheduler that searches and finds files matching your criteria in a specific folder recursively and then adds them automatically to the ignore list "almost" instantaneously, not the best solution but would do the job you want
- ccd16 years agoHelpful | Level 6
Thank you so much XionicFire... saves me the hassle of migrating to a new service, for the time being... unbelievable that dropbox is so useless on this issue that we have to resort to user posted .reg changes.
- corylulu6 years agoHelpful | Level 7
@Daphne Okay, XionicFire was right, I was simply having an issue because my paths had square brackets `[]` in them and I needed to use `-LiteralPath` instead of `-Path`.
However, even after ignoring the folders I wanted to ignore, Dropbox is still deciding to index them on every change and is locking file access when doing so, which is causing me lots of problems.
Dropbox shouldn't be accessing the files inside of an ignored folder at all. Also, Dropbox didn't used to lock file access when indexing/syncing, what changed? - XionicFire6 years agoCollaborator | 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.
- XionicFire6 years agoCollaborator | Level 9
Thanks for the suggestion i will update the code.
- XionicFire6 years agoCollaborator | Level 9
ccd1 , another user suggested a good change, ive updated the REG code to include it, it adds support for directories or files containing [ or ] characters, in case you want to update it to the new version, installing the update should be as simple as copying the new code and running the reg again.
Im glad its useful to people, I know id be going mad and killing someone if I didnt have this and I had to manually type every file/folder I need to ignore with random generated names all over the drive on 172 machines.
- koochy_rat6 years agoHelpful | Level 5
For those using Unity, here is an editor script I made to automatically set the ignore attribute on startup:
using System.Diagnostics; using UnityEngine; using UnityEditor; [InitializeOnLoad] public class EditorStartup { //to make sure Temp folder doesn't get synced to Dropbox. Make sure Temp is deleted on Dropbox online //Temp folder gets deleted by Unity so the extended attributes need to be set every time static EditorStartup() { //when recompiling scripts this will get called again. check to make sure we only do this on actual editor start if (EditorApplication.timeSinceStartup > 60) return; //UnityEngine.Debug.Log("Editor startup script"); #if UNITY_EDITOR if (Application.platform == RuntimePlatform.OSXEditor) { Process.Start("xattr", "-w com.dropbox.ignored 1 Temp"); UnityEngine.Debug.Log("xattr -w com.dropbox.ignored 1 Temp"); } else if (Application.platform == RuntimePlatform.WindowsEditor) { Process.Start("PowerShell", "Set-Content -Path Temp -Stream com.dropbox.ignored -Value 1"); UnityEngine.Debug.Log("PowerShell Set-Content -Path Temp -Stream com.dropbox.ignored -Value 1"); } #endif } } - waynelambert6 years agoNew 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.
- borkdude6 years agoHelpful | Level 5
I've had a conversation with a Dropbox developer about them porting stuff to Rust. Between the lines he said that implementing ignoring files by setting the file attribute was the least amount of work of getting this implementing. This seemed to indicate that Dropbox still hasn't thought this through from the perspective of the user. I hope this will be revisited, because the current functionality is clumsy. If you delete a file from Dropbox, the attributes are gone. If a tool re-creates the file, you can start all over. We need an ignore file. Now.
- hardcodet6 years agoHelpful | Level 6
The Powershell hack is completely broken, at least for developers. You just go to another machine and create that ignored folder (e.g. by building), and you're in a world of pain again.
Still can't understand that developers themselves wouldn't just add the .ignore file option as the initial and trivial solution. Gotta be honest: next time I'm taking on a software development project where I use Dropbox along with Git, I'm off to the competition...
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.
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!