The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



Thread: Archive (tar)
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 10-19-2006
dreams5617 dreams5617 is offline
Registered User
 

Join Date: Jul 2004
Location: USA
Posts: 52
Exclamation Archive (tar)

Hi,

I want to archive below directory
ex: /home/oracle/dd0
sub-directories in dd0
/home/oracle/dd0/backup/backup1
/home/oracle/dd0/backup/backup2
/home/oracle/dd0/dmp
....etc

I want a command(tar) which will let me archive the above directory excluding *.dmp(dump files), *.log(log files) in that directory & in the sub-directories also.

So the archived file doesn't have *.dmp(dump files), *.log(log files) in it.

Pls reply ASAP.

The below reply for this post ignores the sub-directories.

thanks
Reply With Quote