Displaying 1 result from an estimated 1 matches for "openpipe".
2004 May 05
5
rsync and Perl programming
...################################
#!/usr/bin/perl
$rsync_cmd = "/usr/local/bin/rsync -a --progress
--password-file=/usr/local/etc/rsyncd.passwd
ph34r@localhost::samba/rsynctestfiles /usr/share/smbshare/rsynctestfiles";
$pid = open(PH, "$rsync_cmd 2>&1 |"); # with an openpipe
while (<PH>) { # plus a read
print $_;
}
print "finished\n";
#####################################################
#####################################################
When I run the script, here is the output I get:
#####################...