[NTLUG:Discuss] Tar Exclude file question

Stephen Davidson gorky at ispwest.com
Fri Feb 6 14:34:53 CST 2004


Ed Coates wrote:
> 
> On Fri, 6 Feb 2004, Stephen Davidson wrote:
> 
> 
> 
> Steve,
> 
> According to     info tar  the -X <file>   will look in <file> and exclude
> all those files listed there.  Either, make a file with all the dirs/files
> included in it, or maybe try the --exclude=<pattern>
> 
> 
> Ed
> 
> _______________________________________________
> https://ntlug.org/mailman/listinfo/discuss
> 

Tried the following;

/home/steve/corporate/*
/home/steve/downloads/*
/home/steve/j2eeguys/*
/home/steve/pictures/*
/home/steve/projects/*

/home/steve/corporate/
/home/steve/downloads/
/home/steve/j2eeguys/
/home/steve/pictures/
/home/steve/projects/

As soon as the second line is added, tar stops working.  I can't believe that Tar only takes one line per file!

Help?

Regards,
Steve

-- 
Java/J2EE Developer/Integrator
Co-Chair, Dallas/FortWorth J2EE Sig
214-724-7741





More information about the Discuss mailing list