With a similar command, the full path is packed.
tar -cvpf test.tar.gz mypc/test/testdir it packs the entire mypc/test/testdir
I need to archive a specific folder in another folder so that the root folder does not fall into the archive, and only test/testdir , can anyone know the command? Searched in manuals did not find.