Creating tar archive with RootPath property set #880
Unanswered
MarcoGit82
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everybody.
I don't know if this is a bug or not.
I'm trying to create a tar archive starting from a folder, let's call it
c:\temp\template
.I also want to avoid to have in my tar the entire path, so I'm setting the
RootPath
of myTarArchive
instance toc:\temp\template
as well, because I want my tar file to contain only the subdirs ofc:\temp\template
.I get what I want but also a folder with no name.
I run in debug and actually that folder with no name is added as entry,
because the
RootPath
value is subtracted to the source directory.But is that wanted?
How can I avoid this?
Thanks,
Marco
Beta Was this translation helpful? Give feedback.
All reactions