LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   tar question (https://www.linuxquestions.org/questions/linux-newbie-8/tar-question-765346/)

lrt 10-29-2009 10:44 AM

tar question
 
i need to know if a tar file has been compressed...

currently i'm running the command: tar -xvf filename.tar

this tar file is 142GB big. is this a compressed size? if it was the command i'm running wouldn't work right?

i'm wondering because i need to know if i will have enough disk space to extract this file.

bhaslinux 10-29-2009 12:20 PM

use the file command
file <tar file name>
will say if this is compressed or not.

lrt 10-30-2009 08:16 PM

never knew i could do this.. thank you!


All times are GMT -5. The time now is 11:47 PM.