[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
--exclude broken under 1.13
From: |
Robert Minsk |
Subject: |
--exclude broken under 1.13 |
Date: |
Sun, 22 Jul 2001 14:43:22 -0700 (PDT) |
The behavor of exclude has changed from 1.12 to 1.13 and no longer seems to
work.
>From the docs:
Periods (`.') or forward slashes (`/') are not considered special
for wildcard matches. However, if a pattern completely matches a
directory prefix of a matched string, then it matches the full matched
string: excluding a directory also excludes all the files beneath it.
>From the ChangeLog:
* src/list.c (read_and):
Use excluded_filename instead of check_exclude.
Check base name of incoming file name, not entire file name, when
deciding whether to exclude it.
This is what seems to be broken
I have reverted back to tar-1.12 for the time being.
Some examples:
> gtar --create --exclude=tools/sgi -f /dev/null -v .
./
tools/
tools/sgi/
tools/sgi/sys/
tools/sgi/sys/packages/
tools/sgi/sys/packages/BAR
> gtar --create --exclude=./tools/sgi -f /dev/null -v .
./
tools/
tools/sgi/
tools/sgi/sys/
tools/sgi/sys/packages/
tools/sgi/sys/packages/BAR
> gtar --create --exclude=tools/sgi/. -f /dev/null -v .
./
tools/
tools/sgi/
tools/sgi/sys/
tools/sgi/sys/packages/
tools/sgi/sys/packages/BAR
> gtar --create --exclude=./tools/sgi/. -f /dev/null -v .
./
tools/
tools/sgi/
tools/sgi/sys/
tools/sgi/sys/packages/
tools/sgi/sys/packages/BAR
> gtar --create --exclude=tools/sgi/* -f /dev/null -v .
./
tools/
tools/sgi/
tools/sgi/sys/
tools/sgi/sys/packages/
tools/sgi/sys/packages/BAR
> gtar --create --exclude=./tools/sgi/* -f /dev/null -v .
./
tools/
tools/sgi/
tools/sgi/sys/
tools/sgi/sys/packages/
tools/sgi/sys/packages/BAR
--
Robert Minsk Centropolis Effects, LLC.
address@hidden 10950 Washington Blvd., Studio B
Culver City, Ca. 90232-4025
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- --exclude broken under 1.13,
Robert Minsk <=