Extract single file from tar-archive without specifying the directory
tar xvf some.tgz –no-anchored some.txt
When some.txt is in /some/dir/some.txt, some.txt gets extracted right there.
tar xvf some.tgz –no-anchored some.txt
When some.txt is in /some/dir/some.txt, some.txt gets extracted right there.