On Ubuntu 9.04, it works using this method:
tar -xf file.tar --wildcards "*a"
However, according to man page of tar, --wildcards are enabled by default:
--wildcards use wildcards when excluding files (the default)
It also doesn't works with -X, you must type --exclude "*b"
On Ubuntu 9.04, it works using this method:
tar -xf file.tar --wildcards "*a"
However, according to man page of tar, --wildcards are enabled by default:
--wildcards
use wildcards when excluding files (the default)
It also doesn't works with -X, you must type --exclude "*b"