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 have several directories within a rar file. I am looking to only extract a certain directory out of the rar with cli.

ex: in a rar /tmp /home /etc

I only want to extract the /home directory

share|improve this question

migrated from Apr 20 '11 at 21:48

This question came from our site for system and network administrators.

Assuming you're using the unrar program most linuxes have, it's

unrar x foo.rar home
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.