Quote:
Originally Posted by boby.kumar
Hi,
I want to fetch all the current updated files in a directory and copy them to another without using the name of each files.
|
You could do this with syslog.
This way, the syslog-server host would always have the 'latest' copy of any file you choose. In fact, it updates the remote copy in near real-time.
Ask if you want more info on the specifics.
But here's
a startup set for 2 files (apache2 access and error).
There's no reason it can't be done for files in /var/log also.