Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to archive my cvs repository to a .tar file using Archive::Tar
The problem is, I cant seem to use this module to tar a whole directory tree. I can only tar specified files like this
Does anybody know how to tar a whole directory structure from a perl script?Archive::Tar->create_archive ("my.tar.gz", 9, "/this/file", "/that/fil +e");
Thanks in advance
Fergus
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Archive::Tar- how do I tar a whole directory tree
by derby (Abbot) on Jan 08, 2002 at 19:23 UTC | |
|
Re: Archive::Tar- how do I tar a whole directory tree
by Masem (Monsignor) on Jan 08, 2002 at 19:21 UTC | |
by foogod (Friar) on Jan 08, 2002 at 20:20 UTC | |
|
Re: Archive::Tar- how do I tar a whole directory tree
by wileykt (Acolyte) on Jan 08, 2002 at 20:21 UTC |