I want to track changes in a directory tree with git.
Needed features:
- track permissions (chmod, chown). ACLs not needed
- track mtime
- automatically add new files
- automatically delete files
- command line. GUI not needed
- open source
I could solve this with shell scripting, but I don't want to reinvent the wheel. And I guess there are some corner cases which I are not on my mind today, but which are already solved.
Timing is not important. One commit per day is enough.
I looked at etckeeper. But it seems to focused on managing /etc. I would like to have a general purpose tool which can track any directory.
I am not looking for inotify (event handling if file was changed) or something like this.
chmod
/chown
)? Because that's one thingetckeeper
documentation says it does not (and thus etckeeper takes care for itself). – Izzy♦ Apr 30 '18 at 9:47