71

How to create tar.gz archive of my files in Windows to upload and extract in cPanel?

Example person
  • 3,198
  • 3
  • 18
  • 45
Shamas
  • 1,027
  • 2
  • 10
  • 10

1 Answers1

90

tar.gz file is just a tar file that's been gzipped. Both tar and gzip are available for windows.

If you like GUIs (Graphical user interface), 7zip can pack with both tar and gzip.

Santosa Sandy
  • 217
  • 6
  • 20
qwertyboy
  • 1,576
  • 15
  • 25
  • 25
    the problem is that it cannot compress to .tar.gz in one go – Anonymous Sep 05 '12 at 00:51
  • 37
    In case it isn't clear, in 7zip you must first create the tar; it won't even show the option for Gzip if multiple files (or a folder) are selected. Reference: http://www.random-host.com/blog/creating-targz-file-7-zip – Brian Lacy Sep 13 '13 at 13:44
  • 4
    Can you please show how to do this on the command line? – Christopher Pisz Jul 13 '18 at 19:19
  • 4
    @ChristopherPisz I would be useful if I could answer and explain that but question is locked, plz vote for reopen – fico7489 Jul 03 '19 at 13:18