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

Previous backup folders are included in Nuke cleanup #2

Open
rock3r opened this issue Jun 19, 2018 · 0 comments
Open

Previous backup folders are included in Nuke cleanup #2

rock3r opened this issue Jun 19, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@rock3r
Copy link
Owner

rock3r commented Jun 19, 2018

Describe the bug
When you have previous backup folders (e.g., *backup00, *backup01, etc.) the script considers them for cleanup too. We should filter out the folders that match .*backup\d{2}$.

To Reproduce
Steps to reproduce the behavior:

  1. Run the script once with the --backup and --nuke options
  2. Confirm it has created backups
  3. Run the script again, with the --dry-run and --nuke options
  4. Confirm that it would try to clear the previously backup folders too

Expected behavior
Backup folders should be ignored and not nuked

Desktop (please complete the following information):

  • OS: macOS 10.13.5 (17F77)
  • Version: 1.3.0
@rock3r rock3r added the bug Something isn't working label Jun 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant