escape your @. I don't remember the details, but I know it got chewed up
by something in a past application.
Tim Conway
Unix System Administration
Contractor - IBM Global Services
desk:3032734776
[EMAIL PROTECTED]
Hi everybody -
I'm trying to write a Perl wrapper for some rsync tasks that
Hi everybody -
I'm trying to write a Perl wrapper for some rsync tasks that need doing.
Problem is, there's some sort of odd interaction going on between Perl
and the daemon mode communication for the rsync client, and I'm at my
wit's end in trying to figure it out.
Here's the Perl script:
I just checked, and if it helps anybody any, the exact same thing
happens if I use backticks instead of opening a filehandle to fire off
rsync from within the Perl script.
I know I COULD write a Bourne wrapper and run THAT from Perl - I've been
using Bourne scripts from day one to automate my
.
#!/usr/bin/perl -w
Brian.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Jim Salter
Sent: Wednesday, May 05, 2004 2:31 PM
To: [EMAIL PROTECTED]
Subject: rsync and Perl programming
Hi everybody -
I'm trying to write a Perl wrapper for some rsync tasks
You didn't escape your @localhost, for one. Try $rsync_cmd = 'blah blah
blah'; instead.
--
Tom Allen Email: [EMAIL PROTECTED]
Senior Open Systems EngineerPhone: 904-220-3627
10East Corp FAX: 904-384-1038
On Wed, 5 May 2004, Jim Salter wrote:
Hi
On Wed, 5 May 2004, Jim Salter wrote:
Hi everybody -
I'm trying to write a Perl wrapper for some rsync tasks that need doing.
Problem is, there's some sort of odd interaction going on between Perl
and the daemon mode communication for the rsync client, and I'm at my
wit's end in trying