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

Cleanup after archiving #199

Open
tanayk2610 opened this issue Feb 8, 2021 · 0 comments
Open

Cleanup after archiving #199

tanayk2610 opened this issue Feb 8, 2021 · 0 comments

Comments

@tanayk2610
Copy link

Is it possible to add functionality to clean up the archived paths?

If the workdir path is just temporary directories created to store intermediate information before archiving it, the user is currently responsible to clean it up after archiving is complete. It would be great to have maybe a flag in the archive() method itself that could initiate cleanup of the paths archived.

Maybe something like:

archive(source_paths=[args.workdir], output_file="abc.tar.gz", cleanup=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant