/ Published in: Bash
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.
Expand |
Embed | Plain Text
alias logwatch='ls -l >~/logw.txt && sleep 10 && ls -l >~/logw2.txt && diff ~/logw.txt ~/logw2.txt'
Comments
Subscribe to comments
You need to login to post a comment.

You could make a cron job out of it.