Realtime Replication of a Single File

Jason L Tibbitts III tibbs at math.uh.edu
Fri Dec 9 00:37:45 UTC 2005


>>>>> "MR" == Matt Roth <mroth at imminc.com> writes:

MR> Please provide me with tips on how to replicate a single file to a
MR> separate machine as changes are made to it.

If your application truly only supports logging to a file, then
consider seeing if it will continue to log when you replace that file
with a named pipe.  Connect the read end of that pipe to a program
that does whatever you want; you could even connect it to an instance
of ssh or nc to a remote machine.

 - J<




More information about the fedora-list mailing list