Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 05-01-2004, 09:35 AM   #1
Registered: Aug 2003
Posts: 232

Rep: Reputation: 30
zip the file

Hi all,

I have the below scripts on the bourne shell to backup my database every day:

export NLS_LANG

/home/oracle/product/9.2.0/bin/exp system/one4all
log=/u02/backup/$ORACLE_SID/exp_$ORACLE_SID.log full=y direct=y

could someone please give me the next command line to zip the .dmp file???

thanks so much
Old 05-01-2004, 12:52 PM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
You could just use gzip to zip it up in a gz format..

gzip <filename>

For any special options man gzip to see the man pages. But from what I've seen when zipping individual files, you might not see much compression to save in size.. so it might not even be worth it at times. It comes really handy when you have mulitiple files you want to zip up, etc.

Last edited by trickykid; 05-01-2004 at 12:54 PM.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
corrupt zip file - NEED HELP!!! FNC Linux - Software 2 10-29-2006 12:09 PM
windows zip file d1l2w3 Linux - Software 8 03-01-2005 09:00 PM
create a self-extracting zip file with zip on solaris? samsolaris Solaris / OpenSolaris 3 10-15-2004 01:50 AM
Zip File Help :D neozero62 Linux - Newbie 2 01-11-2004 04:59 PM
zip file athenerx Linux - Newbie 1 06-24-2001 06:15 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:05 AM.

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