How to create tar.gz archive of my files in Windows to upload and extract in cPanel?
Asked
Active
Viewed 1.9e+01k times
71
-
3Use 7-zip? http://www.7-zip.org/ – David May 27 '12 at 12:17
-
13first you compress it to tar with 7-zip and then to gzip with 7-zip – Hesham Yassin Mar 17 '16 at 09:27
-
9You can easily do this with "Bash on Ubuntu on Windows" using `cd /mnt/c/[path to folder to archive]` and then `tar -pczf archive.tar.gz *` – Duncan Lukkenaer Feb 28 '18 at 09:56
-
4In Windows 10 you can use tar natively https://stackoverflow.com/questions/27316046/unzip-tar-gz-in-windows – KMoraz Oct 25 '20 at 23:38
1 Answers
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
-
37In 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
-
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