Tar: Add extraction of file without folder structure (#3859)

Co-authored-by: Zlatan Vasović <zlatanvasovic@gmail.com>
This commit is contained in:
Simon Erkelens
2020-03-25 00:53:00 +13:00
committed by GitHub
parent 8367cbac3c
commit f6022ded6c

View File

@@ -35,3 +35,7 @@
- Extract files matching a pattern: - Extract files matching a pattern:
`tar xf {{source.tar}} --wildcards {{"*.html"}}` `tar xf {{source.tar}} --wildcards {{"*.html"}}`
- Extract a specific file without preserving the folder structure:
`tar xf {{source.tar}} {{source.tar/path/to/extract}} --strip-components={{depth_to_strip}}`