nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

bsd zipping files

This is a discussion on bsd zipping files within the All about FreeBSD/OpenBSD/NetBSD forums, part of the *BSD Operating systems category; Hai How to to zip or unzip file under FreeBSD 10x in adv...


Go Back   nixCraft Linux Forum > *BSD Operating systems > All about FreeBSD/OpenBSD/NetBSD

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 01-09-2006, 08:55 PM
Guest
 
Posts: n/a
Default bsd zipping files

Hai

How to to zip or unzip file under FreeBSD

10x in adv
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 01-11-2006, 10:51 PM
rockdalinux's Avatar
Contributors
User
 
Join Date: May 2005
Location: Bangalore
My distro: RHEL, HP-UX, Solaris, FreeBSD, Ubuntu
Posts: 578
Rep Power: 7
rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough
Default

By default zip is not installed under FreeBSD use network to install the zip and unzip:

Code:
pkg_add -r zip
pkg_add -r unzip
To zip files use command:
Code:
zip mydata.zip *.doc *.jpg
Above command to create a new zip file called mydata.zip will all doc and jpg files. To unzip file use
Code:
unzip mydata.zip
__________________
Rocky Jr.
You may have my body & soul, but you will never touch my pride!

If you have knowledge, let others light their candles at it.

Certified to work on HP-UX / Sun Solaris / RedHat
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Shell script for automatic conversion of files in tar files kasimani Shell scripting 2 02-08-2007 03:45 PM


All times are GMT +5.5. The time now is 06:06 AM.


Powered by vBulletin® Version 3.7.3 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36