this is much simpler

Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
2026-11-28 03:18:50 +00:00
parent fa0075b4db
commit 14268384ef
+2 -2
View File
@@ -96,8 +96,8 @@ main() {
printf 'Working in:\n'
printf ' - %s\n' "${cfg_workdir[@]}"
while read -r d f; do
upload "$d$f" "$@" &
while read -r f; do
upload "$f" "$@" &
done < <( inotifywait -m --format '%w%f' -e close_write "${cfg_workdir[@]}" )
}