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

link|improve this question
feedback

migrated from serverfault.com Apr 20 '11 at 21:48

This question came from our site for system administrators and desktop support professionals.

1 Answer

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

unrar x foo.rar home
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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