onekey-sec / unblob

Extract files from any kind of container formats
https://unblob.org
Other
2.16k stars 80 forks source link

Add option to remove archive files when extraction was successful #794

Open Feel-C opened 7 months ago

Feel-C commented 7 months ago

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

qkaiser commented 7 months ago

We already discussed this idea at https://github.com/onekey-sec/unblob/discussions/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.

qkaiser commented 7 months ago

If you want to give it a try, we had a branch that did exactly what you want: https://github.com/onekey-sec/unblob/pull/766