File: getweblogs

package info (click to toggle)
logtools 0.13e%2Bnmu3
  • links: PTS
  • area: main
  • in suites: trixie
  • size: 324 kB
  • sloc: cpp: 1,110; sh: 116; makefile: 78
file content (9 lines) | stat: -rwxr-xr-x 251 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
#!/bin/bash
# get all logs in sorted order
# first parameter is the directory name
# second parameter is the flag file name

if [ ! -f $1/$2 ]; then
  touch 1101000072 $1/$2
fi
/usr/bin/clfmerge `find $1 -name "access.*" \! -name "*.gz" -newer $1/$2`