Anybody know if it is possible that when making a tar + gzip through 'tar c ...' command if the relative paths will be ignored upon expanding.
e.g.
tar cvf test.tgz foo ../../files/bar
and then expanding the test.tgz with:
tar xvf test.tgz
gives a dir containing: foo files/bar
i want the dir to contain the files foo bar
is this possible?