unix – list content of tar file and extract specific file

To list content of tar.gz file:

tar -tvf my-data.tar.gz '<looked-for-file-or-path-name>'

To extract specific cotnent from tar.gz file:

tar -xvpBf my-data.tar.gz '<path-name>'

sources

Post a Comment

Your email is never published nor shared. You're allow to say what you want...