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

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

--exclude-file & --remove


From: Bernhard Brandmair
Subject: --exclude-file & --remove
Date: Mon, 23 Sep 2002 17:57:28 -0700

-exclude-file doesn't seem to work with --remove
Notice that I have cpDirctFX in my exclude file listed, but
it is nevertheless removed. If I specify --exclude=cpDirectFX
then it works properly by not adding the file to x.tar and not
removing it
-Bernhard
 
[x:/BOI/webApplication]
[546] tar --version
tar (GNU tar) 1.13.19
Copyright 2001 Free Software Foundation, Inc.
This program comes with NO WARRANTY, to the extent permitted by law.
You may redistribute it under the terms of the GNU General Public License;
see the file named COPYING for details.
Written by John Gilmore and Jay Fenlason.
[x:/BOI/webApplication]
[547] bash --version
GNU bash, version 2.05b.0(5)-release (i686-pc-cygwin)
Copyright (C) 2002 Free Software Foundation, Inc.
[x:/BOI/webApplication]
[548] ls -al
total 1
drwxr-xr-x    9 Administ None            0 Jun 25 19:19 .
drwxr-xr-x    7 Administ None            0 Jun 25 19:19 ..

-rwxr-xr-x    1 Administ None          999 Sep 23 17:54 cpDirectFX
[x:/BOI/webApplication]
[549] cat ../fl1
cpDirectFX
[x:/BOI/webApplication]
[551] tar --verbose --remove-files --exclude-from=../fl1 --file=../x.tar --create .
./
./cpDirectFX
[x:/BOI/webApplication]
[552] ls -al
total 0
drwxr-xr-x    9 Administ None            0 Jun 25 19:19 .
drwxr-xr-x    7 Administ None            0 Jun 25 19:19 ..
 
 

reply via email to

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