Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-17-2005, 03:25 AM   #1
Registered: Jun 2005
Location: CyberIsland
Distribution: Debian and Fedora
Posts: 31

Rep: Reputation: 15
zip folder

I usually zip a folder having subdirectories int he following way:

tar czvf folder.tar.gz folder

How can I zip a folder so that the result is of type .gz

Is there a way to zip folders so that they can be unzipped under windows?

can the folder folder.tar.gz be unzipped under windows?
Old 06-17-2005, 03:31 AM   #2
Registered: Apr 2004
Location: India
Distribution: Redhat,Fedora
Posts: 430

Rep: Reputation: 39
Ultimatezip is one GPL software that you can use in windows to unzip tgz files

You will have to unzip the file twice anyway.

Any to zip a file and create a gz extension you have to tar the file first
and go for
gzip filename

Thats same as 'tar zcvf'

Why dont you just zip the folder using
zip -r folder
It will be compatible both in linux and in windows[can be unzipped using winzip]



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unzip multiple zip files, each to separate folder smart_sagittari Linux - Newbie 3 03-21-2012 09:41 AM
Folder Max Size and Limiting SSH access to home folder. Mefistofeles Linux - General 4 11-26-2005 03:09 PM
zip a folder tjgadu Linux - Newbie 1 06-03-2005 03:00 AM
create a self-extracting zip file with zip on solaris? samsolaris Solaris / OpenSolaris 3 10-15-2004 02:50 AM
saving a compiled folder for future installation as zip? webazoid Linux - Newbie 2 07-06-2004 08:01 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:49 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration