How do I untar/uncompress a specific folder within a tar.gz using the terminal/commandline (Ubuntu 14.04 (Trusty Tahr))?
Precise:
-file.tar.gz
-- folder1
-- folder2
How to extract...
... folder1 --> ~/locationX
... folder2 --> ~/locationY
How can I do this?
Please notice:
This is purely related to terminal/commandline and not Puppet. This is just one example - I would save roughly 50 additional steps in Puppet, if there is a command to uncompress a specific folder from within a tar.gz
as I could avoid moving files around...