Show which file changed

This commit is contained in:
Andreas Zweili 2024-02-11 19:30:05 +01:00
parent 0cf879faaf
commit e1abd090c5
1 changed files with 1 additions and 0 deletions

View File

@ -66,6 +66,7 @@ in
${pkgs.inotify-tools}/bin/inotifywait -m -r -e create,modify,delete,move --exclude '\.sync_*\.db*' "${pathToMonitor}" |
while read -r directory event file; do
sleep 10
echo "triggered because of $event on $file in $directory"
${monitor-notes}/bin/monitor-notes
done
'';