SecondV
03-26-2007, 12:03 AM
Hello,
I'm trying to use cron + rsync to become an unofficial 'mirror' of php.net, I'm only wanting to grab the English part of php.net, along with just the distributions (.exe) - and the only way to get the files is by using rsync.
I'm trying to place it all here: http://php.dnwhois.net
They have a page about it at http://www.php.net/mirroring.php
The cron / command I'm using is:
I replaced my username with 'xxxxxx'
45 20 * * * rsync -avzC --timeout=600 --delete --delete-after \ --include='manual/en/' --include='manual/en/**' --exclude='manual/**' --include='distributions/*.exe' --exclude='distributions/manual/**' \ rsync.php.net::phpweb /home/xxxxxx/public_html/php
But I get the following error:
building file list ... rsync: link_stat "/home/xxxxxx/ --include=manual/en/." failed: No such file or directory (2)
rsync: link_stat "/home/xxxxxx/ rsync.php.net::phpweb" failed: No such file or directory (2)
done
sent 29 bytes received 20 bytes 98.00 bytes/sec
total size is 0 speedup is 0.00
rsync error: some files could not be transferred (code 23) at main.c(977) [sender=2.6.9]
Would appreciate any help.
I'm trying to use cron + rsync to become an unofficial 'mirror' of php.net, I'm only wanting to grab the English part of php.net, along with just the distributions (.exe) - and the only way to get the files is by using rsync.
I'm trying to place it all here: http://php.dnwhois.net
They have a page about it at http://www.php.net/mirroring.php
The cron / command I'm using is:
I replaced my username with 'xxxxxx'
45 20 * * * rsync -avzC --timeout=600 --delete --delete-after \ --include='manual/en/' --include='manual/en/**' --exclude='manual/**' --include='distributions/*.exe' --exclude='distributions/manual/**' \ rsync.php.net::phpweb /home/xxxxxx/public_html/php
But I get the following error:
building file list ... rsync: link_stat "/home/xxxxxx/ --include=manual/en/." failed: No such file or directory (2)
rsync: link_stat "/home/xxxxxx/ rsync.php.net::phpweb" failed: No such file or directory (2)
done
sent 29 bytes received 20 bytes 98.00 bytes/sec
total size is 0 speedup is 0.00
rsync error: some files could not be transferred (code 23) at main.c(977) [sender=2.6.9]
Would appreciate any help.