How to extract files inside a directory from a tar file in terminal?

Posted by steamboy on Stack Overflow See other posts from Stack Overflow or by steamboy
Published on 2010-05-13T02:08:34Z Indexed on 2010/05/13 2:14 UTC
Read the original article Hit count: 243

Filed under:
|
|
|

Hello,

I want to extract only the files inside a folder of a tar file

Example:

Contents of tar file: /home/parent_dir/child_dir/

I want to extract only the files inside child_dir to another directory

Thanks, SB

© Stack Overflow or respective owner

Related posts about tar

Related posts about extract