Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 67573

Summary: tar 1.14.90 and --exclude
Product: Gentoo Linux Reporter: petre rodan (RETIRED) <kaiowas>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description petre rodan (RETIRED) gentoo-dev 2004-10-14 12:14:16 UTC
muttley distfiles # tar -cf - ./ --exclude=distfiles.tar.bz2 --exclude=distfiles.tar.bz2.asc | bzip2 -9 > distfiles.tar.bz2

tar: --exclude=distfiles.tar.bz2: Cannot stat: No such file or directory
tar: --exclude=distfiles.tar.bz2.asc: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
muttley distfiles # ls -al |grep distfiles
-rw-r--r--  1 root root 234312 Oct 14 21:53 distfiles.tar.bz2
-rw-r--r--  1 root root    189 Oct  7 21:24 distfiles.tar.bz2.asc

that first command works perfectly with tar-1.14.
Comment 1 petre rodan (RETIRED) gentoo-dev 2004-10-15 22:54:11 UTC
fixed by changing the order of the arguments in the script. 
not a tar issue at all, sorry.