Skip to content

Instantly share code, notes, and snippets.

View ironpinguin's full-sized avatar

Michele Catalano ironpinguin

View GitHub Profile
@ironpinguin
ironpinguin / client.php
Created September 8, 2012 12:31
Simple use of php_rsync (librsync implementation)
<?php
/**
* Simple client for librsync handshake.
*/
$opts = "s:f:n:p:";
$longOpts = array("signature:", "file:", "newfile:", "patch:");
class rsyncClient