Skip to content

Instantly share code, notes, and snippets.

View bdowling's full-sized avatar
📈
Onward and Upward!

Brian Dowling bdowling

📈
Onward and Upward!
View GitHub Profile
@bdowling
bdowling / watch-for-changes-then
Last active February 20, 2023 13:45
Fun little script I use to watch for file changes with inotifywait and then run commands when they are modified.
#!/bin/bash
# quick script to make using inotifwatch easier for simple cases,
# such as when you are editiing files and you want to scp them to another
# system as soon as you make save changes.
#
# Brian Dowling
set -e