Bug 161627

Summary: tar options --exclude and --exlude-from no more work
Product: [Fedora] Fedora Reporter: Marco Ferragina <marco.ferragina>
Component: tarAssignee: Peter Vrabec <pvrabec>
Status: CLOSED NOTABUG QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 4CC: alberto_ferrante
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-06-28 09:57:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Marco Ferragina 2005-06-24 21:33:01 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; it-IT; rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4

Description of problem:
Good: options --exlude and --exlude-from simply no more work.
When I try to make a tar archive with one of this options, files listed after --exlude option are not exluded from archive how it does in fedora core 3

Version-Release number of selected component (if applicable):
tar-1.15.1-5

How reproducible:
Always

Steps to Reproduce:
1. create two files: Example test blah
2. create tar archive: tar -cjf test.tar.bz2 * --exclude=blah
3. Cannot stat: No such file or directory
  

Additional info:

Comment 1 Joe Bayes 2005-06-25 15:59:53 UTC
Try creating your archive with "tar cjf test.tar.bz2 --exclude=blah *" 
That WFM, tar-1.15.1-5

Comment 2 Marco Ferragina 2005-06-26 08:35:07 UTC
Thanks, it also works with tar --exclude=blah -cjf test.tar.bz2 *
It's not a bug ;) simply a new syntax from previous version

Comment 3 Peter Vrabec 2005-07-01 07:36:30 UTC
*** Bug 162173 has been marked as a duplicate of this bug. ***