LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 12-18-2010, 02:49 PM   #1
brjoon1021
Member
 
Registered: Dec 2003
Posts: 152

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


Hi,

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, 02:53 PM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,496

Rep: Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883
Perhaps with the zip command?
http://linux.about.com/od/commands/a/blcmdl1_zipx.htm

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

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, 03:37 PM   #4
archShade
Member
 
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
Code:
zip -r output.zip 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 tar.bz compressions.

to find out more type:
Code:
man tar
man gzip
man bzip2
 
Old 12-18-2010, 04:24 PM   #5
brjoon1021
Member
 
Registered: Dec 2003
Posts: 152

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 ?

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

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.
 
  


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


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 01:26 PM
BASH:find out if volume "foo"/folder "goo" can be written to SilversleevesX Programming 2 08-28-2010 10:03 AM
After installing XAMPP for linux i have seen the folder "htdocs" belongs to "nobody". tirengarfio Linux - General 6 03-17-2010 01:41 PM
What is the difference between using "jar xvf" and "unzip" to unzip the zip-file? thomas2004ch Linux - Newbie 4 08-27-2009 05:11 AM


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