Red Hat Bugzilla – Bug 162173
Some tar options are not working
Last modified: 2007-11-30 17:11:09 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Description of problem:
The --exclude, --exclude-from, and -N (and maybe others) options do not work with this version of tar.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.type 'tar cvf destfile.tar sourcedir --exclude file_to_exclude
Actual Results: The tar file is created, but file_to_exclude is not excluded from processing. An error is reported as '--exclude file_to_exclude' were interpreted as filenames. The same happens with the other non-working options.
Expected Results: file_to_exclude should have been excluded from processing; no error messages.
Downgrading to tar-1.14-4 (from FC3) solves the problem.
*** This bug has been marked as a duplicate of 161627 ***