How to exclude a dir. with tar
Aaron Konstam
akonstam at sbcglobal.net
Thu Feb 1 16:12:43 UTC 2007
On Thu, 2007-02-01 at 10:14 -0500, linuxmaillists at 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 at sbcglobal.net>
More information about the fedora-list
mailing list