Simple, quick and dirty synctool
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
938 B

13 years ago
This small sync-tool has only 2 small files.
13 years ago
On the remote machine, it reads a dir and asks **, how many Bytes already synced.
It seeks to this Position and sends till *EOF*.
The complete sourcecode will be transfered via ssh and calls it via **perl -e**, you may not copy it.
13 years ago
This programm is the main-part. It will connect via ssh to the remote machine and
starts ** remote via **perl -e**.
13 years ago
On the local machine, it will wait, till ** will request, how many Bytes the local file has.
** opens and stats this file and responses. Every content it will append to this file,
till ** will announce an other file.
13 years ago
13 years ago
Perl - i think - is already installed on all your machines.
Usally, there is nothing to do.
13 years ago
13 years ago
This will copy files, which match expression REGEXP in DIR on MACHINE to local-dir DEST.