search for: inotify_wait

Displaying 1 result from an estimated 1 matches for "inotify_wait".

Did you mean: inotify_init
2015 Jun 16
1
Strange problem with rsync and expect
...: CentOS 6.6 I met a strange problem when using rsync with expect. I wrote a script backing up using rsync and expect. However when I run the script twice for two different files at same time, the two files on destination path would be deleted automatically before the files closed. The output of inotify_wait was like: ./ MODIFY .redo02.log.dOlbek ./ DELETE .redo02.log.dOlbek ./ CLOSE_WRITE,CLOSE .redo02.log.dOlbek I didn't use any --del options and tried --ignore-errors --max-delete=0, but they didn't work. The problem happened only when two processes were running at same time. Here is my s...