tar creates an absolute sub directory within the compressed file
0
votes
1
answer
607
views
I would like to
tar
a folder using zstd
. My folder contains subfolders a
and b
.
I am tar
-ing using this:
tar --zstd -cvf /dest/path/to/output/archive.tar.zstd /full/path/to/src/folder
However, this causes archive.tar.zstd
to contain /full/path/to/src/folder/
and instead of just folder
How do I fix this?
Asked by user997112
(1065 rep)
Jun 7, 2021, 05:03 PM
Last activity: Jun 7, 2021, 05:55 PM
Last activity: Jun 7, 2021, 05:55 PM