[CentOS] Detect file change
Les Mikesell
lesmikesell at gmail.comTue Jan 26 13:29:55 UTC 2010
- Previous message: [CentOS] Detect file change
- Next message: [CentOS] Detect file change
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Alan Hoffmeister wrote: > Hello everyone! > > How can I detect if a folder have changed (sync logic) than run a script > if it's true? > I found this script over the net, but I think it's such complicated for > that simple thing... > You could just run rsync periodically without checking anything. It will only transfer files that have changed and will walk the whole tree doing the comparisons with the -R or -a options. -- Les Mikesell lesmikesell at gmail.com
- Previous message: [CentOS] Detect file change
- Next message: [CentOS] Detect file change
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list