How do I extract a specific folder or directory from a TAR file?

I would like to extract one directory only from a tar file into a temp directory that way I can examine the content of the folder and be able to restore certain sub-folders into main application.

Default Asked on December 9, 2017 in Shell Script.
Add Comment