๐Ÿ‘ป OS & Tools/Ubuntu

tar.gz ์••์ถ• ํ•ด์ œ ์‹œ not in gzip ์—๋Ÿฌ

๋ณต๋งŒ 2022. 10. 25. 09:33

tar.gz ํŒŒ์ผ์„ ์••์ถ•ํ•ด์ œํ•  ๋•Œ ๋ณดํ†ต ๋‹ค์Œ command๋ฅผ ์ด์šฉํ•˜๋Š”๋ฐ,

 

tar -zxvf [filename.tar.gz]

 

๋‹ค์Œ๊ณผ ๊ฐ™์€ ์—๋Ÿฌ๊ฐ€ ๋œจ๋ฉด์„œ ์••์ถ•ํ•ด์ œ๊ฐ€ ์•ˆ๋  ๋•Œ๊ฐ€ ์žˆ๋‹ค.

 

 

์ด ๊ฒฝ์šฐ ํŒŒ์ผ์ด๋ฆ„์€ .tar.gz๋กœ ๋˜์–ด ์žˆ์ง€๋งŒ gzip ํฌ๋งท์œผ๋กœ ์••์ถ•๋˜์ง€ ์•Š์•˜์„ ์ˆ˜ ์žˆ๋‹ค.

 

๋‹ค์Œ command๋กœ ์ด๋ฅผ ํ™•์ธํ•  ์ˆ˜ ์žˆ๋‹ค.

 

file [filename.tar.gz]

 

 

ํŒŒ์ผ์ด tar ํ˜•์‹์œผ๋กœ๋งŒ ์••์ถ•๋œ ๊ฒƒ์„ ํ™•์ธํ•  ์ˆ˜ ์žˆ๋‹ค.

 

๋”ฐ๋ผ์„œ ์ด ๊ฒฝ์šฐ ๋‹ค์Œ command๋กœ ์••์ถ•์„ ํ•ด์ œํ•  ์ˆ˜ ์žˆ๋‹ค.

 

tar -xvf [filename.tar.gz]

 

 

 

์ฐธ๊ณ : https://www.linuxfordevices.com/tutorials/linux/solved-gzip-stdin-not-in-gzip-format

 

[SOLVED] gzip: stdin: not in gzip format - LinuxForDevices

Hey folks! In this article, we will discuss how to solve gzip: stdin: not in gzip format error while extracting a zipped file using the tar command.

www.linuxfordevices.com

 

๋ฐ˜์‘ํ˜•