sql -> .tar.gz

Discussion in 'MySQL' started by Agent_Dweeb, Dec 24, 2007.

  1. #1
    I have a .sql file and I want to convert to a tar.gz text file format.

    How do I do this?

    Thanks.
     
    Agent_Dweeb, Dec 24, 2007 IP
    bogart likes this.
  2. EIx

    EIx Peon

    Messages:
    170
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #2
    EIx, Dec 24, 2007 IP
    bogart likes this.
  3. Agent_Dweeb

    Agent_Dweeb Peon

    Messages:
    5,607
    Likes Received:
    384
    Best Answers:
    0
    Trophy Points:
    0
    #3
    So it will do the job right?
     
    Agent_Dweeb, Dec 24, 2007 IP
  4. Meth_

    Meth_ Well-Known Member

    Messages:
    1,063
    Likes Received:
    72
    Best Answers:
    0
    Trophy Points:
    140
    #4
    you mean on the fly, on your webserver?
    or on your normal PC?

    normal PC, 7-zip would be fine
     
    Meth_, Dec 24, 2007 IP
  5. Agent_Dweeb

    Agent_Dweeb Peon

    Messages:
    5,607
    Likes Received:
    384
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Yes, normal PC, I will give it a go.
     
    Agent_Dweeb, Dec 24, 2007 IP
  6. joebert

    joebert Well-Known Member

    Messages:
    2,150
    Likes Received:
    88
    Best Answers:
    0
    Trophy Points:
    145
    #6
    7-Zip is good stuff
    I use it to deal with any type of compressed files on Windows.
     
    joebert, Dec 24, 2007 IP
  7. Agent_Dweeb

    Agent_Dweeb Peon

    Messages:
    5,607
    Likes Received:
    384
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Anyone got step by step instructions on how to convert the .sql to .tar.gz :p

    I have downloaded 7zip.
     
    Agent_Dweeb, Dec 24, 2007 IP
  8. buldozerceto

    buldozerceto Active Member

    Messages:
    1,137
    Likes Received:
    43
    Best Answers:
    0
    Trophy Points:
    88
    #8
    tar --create --file=file.tar file.sql
     
    buldozerceto, Dec 24, 2007 IP
    bogart likes this.
  9. bogart

    bogart Notable Member

    Messages:
    10,911
    Likes Received:
    509
    Best Answers:
    0
    Trophy Points:
    235
    #9
    I was using rar to uzip but couldn't gz compress

    Thanks for posting
     
    bogart, Dec 25, 2007 IP
  10. faceless

    faceless Peon

    Messages:
    34
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Right-click on .sql file -> 7-Zip -> Add to archive (Archive Format: tar)

    btw .tar is not a text file format...
     
    faceless, Dec 25, 2007 IP