in reply to Archive::Tar and the paths within
Save this text file as foo.dat and then call tar like so:/DIR1/DIR2/FILE.TXT /DIR1/DIR2/FILE2.TXT
Only relative file paths are stored. You might try tar --help for more cool things you can do with tar. Note, if you are writing a solution that needs to actually use the functionality of the Archive::Tar module in code, then ignore this post, but if you are simply looking for a way to use tar on Windows then you don't really need the module (yet).tar -cvf mynewtar.tar -T foo.dat
Celebrate Intellectual Diversity
|
|---|