Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I wonder whether there is an extractor tool that as well as extract the file contents, erase the original compressed file. Thank you.

share|improve this question

2 Answers 2

up vote 1 down vote accepted

On Mac OSX this is already the case.

Meanwhile this post suggests that WinRAR has this feature, and that it is reasonably easy to script this for 7-zip.

share|improve this answer

WinRAR

1

Delete archive

Never: Do not delete an unpacked archive.

Ask for confirmation: Ask for user confirmation before deleting an unpacked archive.

Always: Delete an unpacked archive without a confirmation.

WinRAR deletes an archive only if it had been unpacked without errors and if all archived files were selected to unpack. If you unpack a multivolume archive, all its volumes will be deleted.

Note that you can save the default state of this option with "Save settings" button in General page of extraction dialog and it will also affect command line and context menu extraction commands. Use "Ask for confirmation" and especially "Always" mode with care. Deleting an unpacked archive can cause data loss if used improperly.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.