[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
--exclude patterns in tar 1.13
From: |
Jamie Herre |
Subject: |
--exclude patterns in tar 1.13 |
Date: |
Wed, 25 Oct 2000 13:58:53 -0500 |
I'm using gnu tar version 1.13. The --exclude and --exclude-from pattern
matching
does not work at advertised. Only file/directory names may be matched. Paths
are ignored. The example given in the manual, '*/tmp/*', will never match.
In src/creat.c the directory entry is matched against patterns before adding
to the complete path...
while (entry = readdir (directory), entry)
{
/* Skip `.', `..', and excluded file names. */
if (is_dot_or_dotdot (entry->d_name)
|| excluded_filename (excluded, entry->d_name))
continue;
Thanks,
-J
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- --exclude patterns in tar 1.13,
Jamie Herre <=