[NTLUG:Discuss] Tar Exclude file question

Patrick R. Michaud pmichaud at pobox.com
Fri Feb 6 15:09:08 CST 2004


On Fri, Feb 06, 2004 at 02:34:53PM -0600, Stephen Davidson wrote:
> 
> 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!

Tar doesn't like leading slashes--modern versions often strip them.  
Did you try ...?

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

Pm
--------------
Patrick R. Michaud, RHCE #808002519807115
Web:   http://www.pmichaud.com
Email: pmichaud at pobox.com



More information about the Discuss mailing list