The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 05-02-2008
Tirmazi Tirmazi is offline
Registered User
 

Join Date: Apr 2008
Posts: 11
tar exclude list

I have solaris 8, I want to create tar for all files under this directory structure
#/export/home/atg/Dynamo/home
There is a subdirectory under this tree called servers/supersds/logs
I want to exclude logs subdirectory so I created exclude list which contains

servers/supersds/logs

But tar is still picking up logs subdirectory and everything under it, where is my syntax wrong please advise.
The command I am using is

/export/home/atg/Dynamo/home#tar cvfX java02may08.tar exclude *
Reply With Quote
Forum Sponsor