News for hackers. Stuff that matters.
Re:Tracking Changes in Directories with Python by aray on Friday December 13, 2013 @04:38AM (#6899733)
I'm not sure what you mean by continually running, but inotifywait is basically just waiting on an event. As long as the process sticks around it doesn't have to do anything until it gets an inotify.
Re:Tracking Changes in Directories with Python by tsileo on Friday December 13, 2013 @04:43AM (#6899747)
I don't want to have a running process just for this, I want to be able to take a "snapshot"/"index", store some data on Glacier, and the index on S3, and later, given the index, be able to compute deltas without accessing the full archive store on Glacier.
Re:Tracking Changes in Directories with Python by blueblob on Friday December 13, 2013 @10:03AM (#6900793)
Is there a reason that you want it in python? Couldn't you do this with diff -q if you only want to know what data has changed? and then use diff to get the deltas?