This is just a little snippy I use to watch a directory to see which files are being actively written to. There's probably better ways to do this, but I'm fond of this snippy.
- alias logwatch='ls -l >~/logw.txt && sleep 10 && ls -l >~/logw2.txt && diff ~/logw.txt ~/logw2.txt'
CommentsSubscribe to comments
You need to login to post a comment.