search for: dolbek

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

Did you mean: dilek
2015 Jun 16
1
Strange problem with rsync and expect
...sing 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 script:#!/usr/bin/expect log_user 0...