3 root="/home/services/ftpd/buildlogs"
5 if test -f /etc/buildlogs-mover.conf ; then
6 . /etc/buildlogs-mover.conf
10 inotifywait -q -m -r -e move $root/*/*/.new | \
11 while read path change file; do
12 [ "$change" != "MOVED_TO" ] && continue
13 /bin/su - ftp -s /bin/sh -c "/home/services/buildlogs/buildlogs-mover.sh"