in reply to Reaped: new to perl and have a list question
Where the contents of MYFILENAME.txt are:tar -cvf too-bad-v0.1.tar -T MYFILENAME.txt
This feature can actually be very useful if you have a large directory but only want to recreate periodic tar-balls of certain files in it. After re-reading the perldoc I don't see that feature in my installed version. To emulate it, you can just read the contents of your file, turn the lines into an array of file names (remember to chomp), and then use the add_files() method in Archive::Tar if I am not mistaken.file1.txt file2.txt ...
Celebrate Intellectual Diversity
|
|---|