Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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



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


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.