Wanna a file hook example using bash

there’s just a ruby example.
Would you guys give a bash example in detail, thanks

Thanks for taking the time to be thorough in your request, it really helps! :blush: