Hello,
I have a problem using Archive::Tar. it seem very trivial but i cannot get it work.
First I have a list of files I grab from a directory. Then I create a tar archive and write the files into the archive. everything works great, except that I cannot properly extract the files.
What happes in that the directory name should be
/directory_name/other
instead it tries to put the extracted files into
directory_name/other
as a result of the missing slash, I cannot untar my files. I did this on test file before the real ones. So it's not that bad.
Has anyone encountered this before? Suggestions?
I don't really know how to bash script but I think doing it in a bash script rather than perl would be better...