Red Hat Bugzilla – Bug 9201
tar-1.13.17-2: excludes don't work (with patch)
Last modified: 2008-05-01 11:37:54 EDT
jik:/tmp!19> cd /tmp
jik:/tmp!20> mkdir foo
jik:/tmp!21> touch foo/bar.baz
jik:/tmp!22> tar --create --file /dev/null --exclude 'bar.*' --verbose foo
The file foo/bar.baz should have been excluded but wasn't.
A patch is attached.
Created attachment 98 [details]
patch to fix --exclude bug in tar 1.13.17
Created attachment 99 [details]
a better patch
Looks good - thanks. Fixed now.