Skip to content
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

Add option to ignore path provided #1

Closed
dhosterman opened this issue Sep 12, 2016 · 1 comment
Closed

Add option to ignore path provided #1

dhosterman opened this issue Sep 12, 2016 · 1 comment
Assignees

Comments

@dhosterman
Copy link
Owner

Current behavior is that, when a path is provided, that path and all paths below it are checked for the presence of a file and are recursively deleted if a file doesn't exist. There is no way to specify a path and the desire to purge all empty directories beneath it, but not the specified path if it doesn't have a file (only directories) beneath it, resulting in all directories being deleted regardless of their contents.

Add an option to ignore the directory provided as the argument.

@dhosterman
Copy link
Owner Author

Resolved with PR: #3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant