I'm working on a system to backup logs.
I need to copy logs in an other path in order to backup. I found inotify (that i do absolutely not know) that should help me on this task but i'm not sure... I know that it is possible to work on a directory but here is what i would like to do:
When a file has been modified in a certain folder, copy that file in an other folder.
It is probably a basic thing to do but i did not find anything clear to me... If you have any idea...