Created
February 27, 2018 11:42
-
-
Save artygus/ada51f67affd9480af9cc4547f8e683e to your computer and use it in GitHub Desktop.
Monitor single level of directory in OSX
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pwd | wc -c | |
fswatch -0 ./ | xargs -0 -n 1 -I {} sh -c 'echo {} | cut -c 28- | awk "!/\//"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment