[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: How to exclude a dir. with tar



On Thu, 2007-02-01 at 10:14 -0500, linuxmaillists charter net wrote:
> On Thursday 01 February 2007 09:49, Steven W. Orr wrote:
> > =>Delete the directory or move it then do your tar ball.
> >
> > What a horrible answer!
> 
> There is nothing horrible about my answer.  It did not tell 
> him what he wanted to know about excluding but it did tell 
> him how to accomplish his objective, because he does not 
> want to save that tmp directory anyway.
> 
I am sorry about this but let me answer a related question which you may
be interested in. That is how do you untar a file into an existing
directory but not overwrite files with the same name? Use the -k option
of tar. 
-- 
Aaron Konstam <akonstam sbcglobal net>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]