Displaying 1 result from an estimated 1 matches for "rsynctestfil".
Did you mean:
rsynctestfiles
2004 May 05
5
rsync and Perl programming
...ing to figure it out.
Here's the Perl script:
#####################################################
#####################################################
#!/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";
#####################################################
######...