Posted By

juln on 07/05/10


Tagged

files log directory monitor changes


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

Vordreller


Directory Monitor


 / 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.

  1. alias logwatch='ls -l >~/logw.txt && sleep 10 && ls -l >~/logw2.txt && diff ~/logw.txt ~/logw2.txt'

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: Vordreller on July 5, 2010

You could make a cron job out of it.

You need to login to post a comment.