in reply to Re: Archive::Tar from somewhere outside my runtime directory
in thread Archive::Tar from somewhere outside my runtime directory
I thought from my reading of the doc that my $tar->setcwd would have caused tar to find all files in the $vsvroot/cntl directory then archive them in $vsvroot/tmp/cntlbkup.tar. I know those files exist but I don't get anything in the archive although the write statement does create it.$tar->setcwd($vsvroot); foreach my $vsvxdb (<cntl/*>) { $tar->add_files($vsvxdb); } $tar->write("$vsvroot/tmp/cntlbkup.tar");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Archive::Tar from somewhere outside my runtime directory
by GrandFather (Saint) on Dec 12, 2011 at 06:30 UTC | |
by murrayn (Sexton) on Dec 12, 2011 at 21:38 UTC | |
by Anonymous Monk on Jan 24, 2012 at 06:01 UTC | |
by murrayn (Sexton) on Jan 25, 2012 at 03:13 UTC |