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.
fixed by changing the order of the arguments in the script. not a tar issue at all, sorry.