AimerNeige zrewidował ten Gist . Przejdź do rewizji
Brak zmian
AimerNeige zrewidował ten Gist . Przejdź do rewizji
1 file changed, 9 insertions
extract_tar_gz.sh(stworzono plik)
@@ -0,0 +1,9 @@ | |||
1 | + | # extract specific file(s) from tar.gz | |
2 | + | tar -zxvf <tar filename> <file you want to extract> | |
3 | + | ||
4 | + | # -x: instructs tar to extract files. | |
5 | + | # -f: specifies filename / tarball name. | |
6 | + | # -v: Verbose (show progress while extracting files). | |
7 | + | # -z: filter archive through gzip, use to decompress .gz files. | |
8 | + | # -t: List the contents of an archive | |
9 | + | # https://unix.stackexchange.com/questions/61461/how-to-extract-specific-files-from-tar-gz |
Nowsze
Starsze