From: short <> Date: Sun, 1 May 2005 14:14:06 +0000 (+0000) Subject: Omit "ntpstats" directory. X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=commitdiff_plain;h=1b871dd7506330eb341655325939cc1beb9bc10f;hp=f503d2397d7b0c54cc4d0b534352d5791d51788a Omit "ntpstats" directory. --- diff --git a/bin/taillog b/bin/taillog index 822badf..a1e72e5 100755 --- a/bin/taillog +++ b/bin/taillog @@ -1,2 +1,2 @@ #! /bin/bash -tail -fn0 `file $(find /var/log -type f)|grep -v 'data$'|sed 's/:.*//'|grep -v '^/var/log/squid/store.log$'` "$@" +tail -fn0 `file $(find /var/log -name ntpstats -prune -o -type f -print)|grep -v 'data$'|sed 's/:.*//'|grep -v '^/var/log/squid/store.log$'` "$@"