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 -delete_backup argument to remove backup dir #95

Closed
alichtman opened this issue Oct 18, 2018 · 2 comments
Closed

Add -delete_backup argument to remove backup dir #95

alichtman opened this issue Oct 18, 2018 · 2 comments
Labels
feature New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Milestone

Comments

@alichtman
Copy link
Owner

alichtman commented Oct 18, 2018

Look up backup path in config file and remove it.
Also add this to the interactive menu.

@alichtman alichtman added feature New feature or request help wanted Extra attention is needed good first issue Good for newcomers Hacktoberfest labels Oct 18, 2018
@alichtman alichtman changed the title Add -cleanup argument to remove current backup from system Add -cleanup argument to remove backup dir Oct 18, 2018
@alichtman alichtman added this to the v1.4 milestone Oct 18, 2018
@alichtman alichtman changed the title Add -cleanup argument to remove backup dir Add -clean argument to remove backup dir Oct 18, 2018
@smartfin
Copy link

Hi. I'm wondering if you are looking to remove previous existed backup dir before writing new backup to it?
So, user can run shallow-backup -cleanup ~/shallow-backup-dir and just remove old directory without creating new one?

@alichtman
Copy link
Owner Author

alichtman commented Oct 19, 2018

No, what this flag should do is just remove the directory.

I'm wondering if you are looking to remove previous existed backup dir before writing new backup to it?

This is the way shallow-backup works currently. All I want to do is add a flag that will remove the backup, equivalent to rm -rf BACKUP_DIR_PATH

@alichtman alichtman changed the title Add -clean argument to remove backup dir Add -delete_backup argument to remove backup dir Oct 19, 2018
@pattu777 pattu777 mentioned this issue Oct 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants