LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
LinkBack Search this Thread
Old 06-17-2005, 02:25 AM   #1
tjgadu
Member
 
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, 02:31 AM   #2
zulfilee
Member
 
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
command.
It will be compatible both in linux and in windows[can be unzipped using winzip]

Cheers
Z
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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 08:41 AM
Folder Max Size and Limiting SSH access to home folder. Mefistofeles Linux - General 4 11-26-2005 02:09 PM
zip a folder tjgadu Linux - Newbie 1 06-03-2005 02:00 AM
create a self-extracting zip file with zip on solaris? samsolaris Solaris / OpenSolaris 3 10-15-2004 01:50 AM
saving a compiled folder for future installation as zip? webazoid Linux - Newbie 2 07-06-2004 07:01 PM


All times are GMT -5. The time now is 07:01 PM.

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