Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Dec 2010
Text File Tracker & Logger for Linux
Do you know of any such utilities that track changes to Linux files, what changes were made and at what time? The util would need to monitor the folder every 500 miliseconds.
PS: It isn't always the last line in the file that is edited. THe changes can be made anywhere in the TXT file.
You are describing the purposes of a version control system.
Subversion comes to mind.
However, updates (commits) every 500ms might be a problem.You must always face the curtain with a bow.
Alternatively -if the file structure allows-, let the application write to a dedicated database.You must always face the curtain with a bow.
As I understand it, with a journaling filesystem, changes aren't necessarily written immediately to disk. The software may commit the changes, and think it was written, but the filesystem writes to disk when it decides to. I don't quite understand why you need to check for changes every few milliseconds, but if you really require that, then you need a different filesystem, I think.