dbignore
dbignore copied to clipboard
Deleted parent should unlink
Great tool! You will encounter sync errors in Dropbox when the user attempts to delete a parent directory of an ignored file from another computer or the web site. I would hook unlink() on directories and delete all ignored child files before redirecting to the system's unlink(), this avoids "directory not empty" errors.
Note that this should not go inside symlinked directories and delete the files inside them.
I'm not sure that the behavior described is correct either. I (or someone else) needs to think out what the correct behavior would be.