|
From: | Martin Jespersen |
Subject: | [Bug-tar] tar (GNU tar) 1.15.1 bugreport: tar -C <dir> doesn't support fileglobbing |
Date: | Thu, 06 Jul 2006 01:52:19 +0200 |
User-agent: | Thunderbird 1.5.0.4 (Windows/20060516) |
Hello there, My pwd is anywhere but /backup and i do: # tar -C /backup -cf /backup/tmp.tar tmp-*.txt I then get the following error: tar: tmp-*.txt: Cannot stat: No such file or directory tar: Error exit delayed from previous errors But it works fine if i do any of the following: # tar -C /backup -cf /backup/tmp.tar tmp-1.txt tmp-2.txt tmp-3.txt # tar -cf /backup/tmp.tar /backup/tmp-*.txt # cd /backup # tar -cf /backup/tmp.tar tmp-*.txt # cd /backup # tar -C /backup -cf /backup/tmp.tar tmp-*.txtIs this a bug or just a feature that i am to stupid to figure out how to use properly?
regards Martin Jespersen
[Prev in Thread] | Current Thread | [Next in Thread] |