Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-18-2010, 03:49 PM   #1
Registered: Dec 2003
Posts: 153

Rep: Reputation: 16
How does one "zip" a folder with Linux .? How does Windows user "unzip" same ?


Can you shed some light on:
1. How do I compress or zip a folder in Linux ?
2. How would a windows user open such a folder With Windows ?

I upload images and send them to a Windows user. The images are sent in a folder via yousendit - a large file upload service. Yousendit has a proprietary Windows app that zips the folder for you and sends it from an e-mail like GUI. Nice. No such interface/GUI exists for Linux users; I would need to upload a folder at their website.

I want to start using Linux which means that I need to zip the folders myself while using Linux. My Windows user - the recipient of the folder - is NOT techie. He needs to be able to open the folder that has been compressed in Linux easily.
Old 12-18-2010, 03:53 PM   #2
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Perhaps with the zip command?

Kind regards
Old 12-18-2010, 04:04 PM   #3
Registered: Aug 2007
Location: India
Distribution: Slackware (mainly) and then a lot of others...
Posts: 855

Rep: Reputation: Disabled
For your friend I would suggest he install 7zip. However you have to be careful about the files. If they are text notepad may open the files and corrupt them. With pictures and vidoes there should be no issues.
Old 12-18-2010, 04:37 PM   #4
Registered: Mar 2006
Location: Delft NL
Distribution: Debian; Slackware; windows 7
Posts: 218

Rep: Reputation: 53
If you don't like command lines then there a variety of ways and depends on what environment/distro you are using but in general if you copy the files into a directory, using your file manager (nautilus, dolphin, etc..) and then right click on the directory and select compress/archive/zip (whatever is there again depends on environment/distro/file manager). Make sure you select zip file. You should be left with a .zip file which you can read in windows in the normal way.

If you want to use the command line
zip -r input_directory1 input_directory2 ...
To learn more about the zip command use man zip.

I agree with silver back that getting people to install 7zip is a good idea, this will allow you to use better compression than zip files. If this solution is ok look up tar.gz and compressions.

to find out more type:
man tar
man gzip
man bzip2
Old 12-18-2010, 05:24 PM   #5
Registered: Dec 2003
Posts: 153

Original Poster
Rep: Reputation: 16
thanks guys.

Any of you using an easy distro that conveniently has "zip" in the right-click menu ? As an aside, this will be a laptop, are there any distros that tend to have better battery life ?

Old 12-19-2010, 01:10 AM   #6
Registered: Aug 2007
Location: India
Distribution: Slackware (mainly) and then a lot of others...
Posts: 855

Rep: Reputation: Disabled
Plenty of gui based program to suit you. Xarchiver is my favourate.
As far as batterylife is concerned - I use a program called 'powertop'. This program will point out all the power intensive processes and give you an option to stop them.
Hope this helps.


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
[SOLVED] There is no "menu.lst" in my Ubuntu "/boot/grub/" folder. msbstar Linux - Newbie 18 09-15-2012 02:26 PM
BASH:find out if volume "foo"/folder "goo" can be written to SilversleevesX Programming 2 08-28-2010 11:03 AM
After installing XAMPP for linux i have seen the folder "htdocs" belongs to "nobody". tirengarfio Linux - General 6 03-17-2010 02:41 PM
What is the difference between using "jar xvf" and "unzip" to unzip the zip-file? thomas2004ch Linux - Newbie 4 08-27-2009 06:11 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:54 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