Hello,

I am trying to use the following program to archive directories of large
files but I can not get any wildcard combination to work:

#!/usr/bin/perl
use Archive::Tar;

Archive::Tar->create_archive ("test.tar", 9, "backup/*.*");
print join "\n", Archive::Tar->list_archive ("test.tar"), "";

How can I get this to tar the entire backup directory? And if I wanted to
say pic out all file based on extensions later on like .pl *.pl how to do
that as well with this?

Thanks,
John

Reply via email to