onekey-sec/unblob

Add option to remove archive files when extraction was successful

Feel-C opened this issue · 2 comments

Reduce the size of _extract directory
I am using unblob on large files (5Go to 8Go) and disk usage is very high : original file + _extract directory + log
The _extrract directory contains all original archive files and _extract result.

Add an option to remove all achive files (.gz, .zi, .tgz, ... ) in the _extract directory
When the extraction of a file is sucessful, the original file (.zip, .xz, .tgz, ...) is deleted in the _extract directory

We already discussed this idea at #687. It's not on our roadmap right now, but we'll definitely take your request into account since it indicates that more and more users are expecting this feature.

If you want to give it a try, we had a branch that did exactly what you want: #766