[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
exclude option change between tar 1.12 & 1.13
From: |
Matthew Braun |
Subject: |
exclude option change between tar 1.12 & 1.13 |
Date: |
Sun, 24 Dec 2000 15:59:11 -0500 |
Between tar versions 1.12 & 1.13, this change listed in ChangeLog was
made:
* 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.
Why? (I'm sure there is a reason. ;-)
I'd rather see exclude be a relative path like it was in tar-1.12, which
would match the vendor behavior under Solaris 8. With tar-1.12, if the
user wants to exclude all files named blah, they could make the glob
'*blah'. With tar-1.13, there is no way to only exclude something like
"var/tmp", you can only exclude "tmp" which would be EVERY occurrence of
"tmp" the directory being tar'd.
Thanks for any feedback on the --exclude option (also applies to -X).
Matthew.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- exclude option change between tar 1.12 & 1.13,
Matthew Braun <=