There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Linux and Unix
Tag Cloud
access acer asus bios bsod computer crash driver drivers error ethernet excel freeze gaming gpu hard drive hardware hdmi internet laptop malware memory monitor motherboard music network obp operating system printer problem ram registry router slow software sound trojan ubuntu 11.10 uninstall usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
Linux file cpmpression Utility that windows can read when received.

Reply  
Thread Tools
l0f33t's Avatar
Junior Member with 26 posts.
 
Join Date: Aug 2003
02-Sep-2003, 04:25 AM #1
Linux file cpmpression Utility that windows can read when received.
I'm using Yahoo mail to send emails on Linux MDK 9.0.


Some files that I attatch in my emails to people running MS-windows I would like to be able to compress and put a password on that file so that only that user can open the compressed file for viewing.

Winzip has this capability for MS windows and I was wondering if there was something similar in Linux that can do this and at the same time allow MS windows users to read that file from the linux machine?

Thanks,
__________________
JBanks
ed209's Avatar
Junior Member with 15 posts.
 
Join Date: Aug 2003
Location: Ottawa, Canada
03-Sep-2003, 12:38 PM #2
I have used winzip to unzip a tar.gz file and as for password protection you can use a plethora of encryption tools to password anything you want in Linux. I use gpg and it works great but the person on the other end needs it as well.

here is an example of how you compress and encrypt a file:

tar -cf music.tar ./music/

this gives you an uncompressed tarball called music.tar, this is just a handy way of combining multiple files.

now you can encrypt and compress it with gpg like this:

gpg -c music.tar

this will ask you for a passphrase. The passphrase is all that is needed to decrypt this file.

gpg automatically compresses files with the zlib libraries which are used by gzip. gzip files are readable by winzip so if you want to forego the encryption you can just compress the file and it will be readable by the person on the other end as long as they run winzip.

I hope that helps,

ed
codejockey's Avatar
Senior Member with 1,410 posts.
 
Join Date: Feb 2002
04-Sep-2003, 04:44 AM #3
Most Linux distributions that I am familiar with include a zip utility -- a virtual (and improved) clone of the PKZIP of DOS/Windoze fame. Try the command: man zip on your system, and see if it does what you want (compression/password protection). I have used this utility extensively to exchange files with Windoze users, and have never had a problem with incompatability.

Hope this helps.
__________________
The slowest component still sits at the keyboard.
lynch's Avatar
Senior Member with 1,962 posts.
 
Join Date: Aug 2002
Location: Back East,Way Back East
04-Sep-2003, 06:18 AM #4
You may have to install it from your Drake CD.But you should have it.
HTH
lynch
l0f33t's Avatar
Junior Member with 26 posts.
 
Join Date: Aug 2003
04-Sep-2003, 06:59 AM #5
Thanks everyone.


I've got more than one way to do this now.

Thanks,
Reply

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 12:16 PM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.