code for article pfeilbr/fswatch-playground
- learn fswatch file change monitor
- github @ emcrisostomo/fswatch
Example Script
see watch.sh
Example Usage
# get file path information for changed files
fswatch -0 .
# print file path information for each changed file on separate line
fswatch -0 . | xargs -0 -n 1 -I {} echo {}
Twitter • Reddit