最終更新 1704386775

AimerNeige's Avatar AimerNeige revised this gist 1704386774. Go to revision

No changes

AimerNeige's Avatar AimerNeige revised this gist 1704386760. Go to revision

1 file changed, 9 insertions

extract_tar_gz.sh(file created)

@@ -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
Newer Older