On 02/11/04 06:39, Thind, Aman wrote:
Thanks for the response David.
When I do 'Archive::Tar->create_archive("/tmp/test.tar",0,glob("*.pl"))' it
tars all the .pl files in the current working directory.
However, I need to tar a folder which has many folders inside it.
I tried 'Archive::Tar->create
de ? (perhaps the key lies
in glob...i searched but couldn't find a flag to make it recurse)
Thanx in advance
aman
-Original Message-----
From: david [mailto:[EMAIL PROTECTED]
Sent: 11 February 2004 00:34
To: [EMAIL PROTECTED]
Subject: Re: Using archive::tar for archiving a folder
Aman Thind wrote:
> Hello Friends,
>
> I wish to archive a folder into a .tar
>
> I've been searching through the documentation of archive::tar module but
> could not find a way by which I could make the .tar just by specifying the
> folder name (like on unix prompt "tar -cvf myarchive.tar myfol