-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Except pattern is not honored #3
Comments
@AforDesign really tricky case, thanks for reporting this. Based on the official announcement:
as a result, when therefore, exceptions could not be supported. I will make a fix in order to ignore exception patterns on both Unfortunately, regarding your case, you have to explicitly specify which sub-folders should be ignored except |
ah yes... now I remember. For me personal it's not a problem. As your purpose of the script was to inherit and mimic the gitignore file, you might want to reconsider some changes, warnings and disclaimers. For example: until last year I synced my entire workflow with all projects between my workspace at home and at my office. My advice would be to NOT ignore folders in which files/folders are targeted with exception rules. |
Thank you for sharing your experiences and your thoughts on this. You are totally right, the number one priority should be to prevent any unpleasant data losses. For now, any In the future, I hope to find a more gitignore-like approach to handle exceptions. Also I will make more clear on documentation that |
Currently, dropboxignore does not support exceptional patterns. I'm closing this issue, but feel free to re-open it when the corresponding feature is implemented. |
I've been experimenting with patterns to target certain files and folders and noticed the except pattern is ignored.
Steps to reproduce
Add these lines in .dropboxignore
Expected result:
The 'name_folder' should be ignored by DropBox with the exception of files and folders matching 'name_stuff_to_keep' and thus the folder 'name_folder' itself.
The text was updated successfully, but these errors were encountered: