Re: Archiving folder containing folders (was - RE: Using archive::tar for archiving a folder)

2004-02-11 Thread Randy W. Sims
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

Re: Archiving

2001-04-22 Thread Matt Cauthorn
I looked up what I had read about the Net::Telnet module and ssh. Truth be told, it seemed a bit tricky to make it work. The Net::SSH::Perl seems to have some pretty slick features, for sure. Thanks for pointing that out. Went to CPAN straight away, and I'll surely use it as opposed to the Net::Te

Re: Archiving

2001-04-22 Thread Curtis Jewell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, 22 Apr 2001, Matt Cauthorn wrote: > Dennis -- Sorry, I put the wrong module in my post (I > had just written a script using Net::FTP, hence the > mix up)! Although Net::FTP is a great one, I was > thinking of Net::Telnet, which you can use to

Re: Archiving

2001-04-22 Thread Matt Cauthorn
Dennis -- Sorry, I put the wrong module in my post (I had just written a script using Net::FTP, hence the mix up)! Although Net::FTP is a great one, I was thinking of Net::Telnet, which you can use to easily telnet into your server, even if it requires SSH (although I've only *read* about the SSH

Re: Archiving

2001-04-22 Thread Dennis LaPine
Matt, Thank you for the idea! Closer than I've been. I'm running a modified wwwboard script. I'd like to automate the derned thing so I'm not manually archiving late every night. My thought is after so many posts a date link i.e. 2001Apr22.html is created within my present archive.html page, then

Re: Archiving

2001-04-22 Thread Paul Johnson
On Sun, Apr 22, 2001 at 09:41:08AM -0700, Matt Cauthorn wrote: > By > the way, this list rocks. Whoever came up with the > idea deserves applause. That would be Casey, possibly in a fit of conscience ;-) And I agree that the list is working wel

Re: Archiving

2001-04-22 Thread Matt Cauthorn
Hmmm. Still not 100% clear on exactly what you want to accomplish, but it sounds like a simple shell or Perl script setup as a cron may do the trick. In Perl, maybe something like: my $count=`ls | wc -l`; # this captures the amount of lines in your posting directory. Then setup an if statement:

RE: Archiving

2001-04-21 Thread Wagner-David
Makes sense, but unfortunately, I am mainly on win2k and not unix. Wags ;) -Original Message- From: Dennis LaPine [mailto:[EMAIL PROTECTED]] Sent: Saturday, April 21, 2001 14:27 To: Wagner-David; [EMAIL PROTECTED] Subject: Re: Archiving This is on Unix, the file link format is like

Re: Archiving

2001-04-21 Thread Dennis LaPine
This is on Unix, the file link format is like 2001Apr21.html. I would like the link to create itself after so many posts, then be written to until midnight. Then the process would just start over again like that each day. Make sense? Thanks Dennis Wagner-David wrote: > What are the current arch

RE: Archiving

2001-04-21 Thread Wagner-David
What are the current archive files like? How often are you wanting to do this? Is it on Windows? Linux? Unix? Wags ;) -Original Message- From: Dennis LaPine [mailto:[EMAIL PROTECTED]] Sent: Saturday, April 21, 2001 13:22 To: [EMAIL PROTECTED] Subject: Archiving Here's one from the green

Re: Archiving

2001-04-15 Thread Mike Lacey
Dennis, Couple of questions: 1 Is your ChatRoom written in Perl? 2 Do you have a database (Oracle, MySql, Postgress, whatever) at the moment? Mike Mike Lacey www.tek-tips.com -- a friendly, flame free, evironment for computer proffessional and students Perl forum at: http://www.tek-tips.com/g