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-*.txt

Is this a bug or just a feature that i am to stupid to figure out how to use properly?

regards

Martin Jespersen


_______________________________________________
Bug-tar mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-tar

Reply via email to