bug-gnu-utils
[Top][All Lists]
Advanced

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

GNU Tar ver 1.13


From: Dan DeLong
Subject: GNU Tar ver 1.13
Date: Thu, 6 Jun 2002 16:54:41 -0400

I do not know if what I'm about to describe is a bug or something I am doing
wrong but here I go:  If I use the --exclude= option with tar it doesn't
seem to be working the way I would expect it.  For example:
Assume directory1 has multiple subdirectories including one named directory2
(directory1/directory2)
>From the root directory I run this command:

tar -c -v -f /tmp/backup.dat --exclude=directory1 .

This will tar everything in my root directory and all subdirectories as
expected including directory1 and directory2

However, If I issue this command:

tar -c -v -f  /tmp/backup.dat --exclude=directory1/directory2 .

This will tar everything INCLUDING directory1/directory2 which I do not want
included.

Am I doing something incorrectly ?  I am running this under Compaq Tru64
unix ver 4.0g and 5.01a

Thank you,

Dan DeLong
Technical Services Mgr.
Custom Data Solutions, Inc.
586-752-9671



reply via email to

[Prev in Thread] Current Thread [Next in Thread]