Un .tar.gz ing a file using command line

Discussion in 'Mac Programming' started by Eraserhead, Jul 17, 2006.

  1. macrumors G4

    Eraserhead

    Joined:
    Nov 3, 2005
    Location:
    UK
    #1
    Hello

    Does anyone know how to un .tar.gz a file using the command line, unfortunately I am not at my Mac atm, and when accessing it remotely only have command line access.

    Thanks

    Eraserhead
     
  2. macrumors 68030

    risc

    Joined:
    Jul 23, 2004
    Location:
    Melbourne, Australia
    #2
    tar zxvf foo.tar.gz
     
  3. thread starter macrumors G4

    Eraserhead

    Joined:
    Nov 3, 2005
    Location:
    UK
    #3
    Cheers! That works perfectly.
     
  4. macrumors 6502a

    Palad1

    Joined:
    Feb 24, 2004
    Location:
    London, UK
    #4
    you can shave off the v if you don't want to see the file listing as well.
     

Share This Page