diff --git a/ufwd b/ufwd index fd14b7a..5fe469a 100755 --- a/ufwd +++ b/ufwd @@ -81,7 +81,7 @@ main() { while read -r dir action path; do upload "$dir$path" "$@" & - done < <( inotifywait -m -e create "$cfg_workdir" ) + done < <( inotifywait -m -e close_write "$cfg_workdir" ) } main "$@"