2011-02-23 15:39:35 +01:00
|
|
|
#
|
2013-01-16 21:26:17 +01:00
|
|
|
# This file should be named ~/.lmtab
|
2011-02-23 15:39:35 +01:00
|
|
|
#
|
|
|
|
|
2013-01-16 21:26:17 +01:00
|
|
|
# Variables are possible. For example PATH, because fuser can't be found without it.
|
2012-07-30 11:10:27 +02:00
|
|
|
PATH=${PATH}:/usr/sbin
|
|
|
|
|
2013-01-16 21:26:17 +01:00
|
|
|
# example:
|
|
|
|
# archive all files:
|
|
|
|
# * in /opt/appsrv/jboss/server/cms/log
|
|
|
|
# * named *.log
|
|
|
|
# * retention for 30 days
|
|
|
|
#/opt/appsrv/jboss/server/cms/log *.log 30
|
2011-02-23 15:39:35 +01:00
|
|
|
|
2013-01-16 21:26:17 +01:00
|
|
|
# Attantion:
|
|
|
|
# No given time ("") means default retention time (60 days!).
|
|
|
|
# If you want to hold these files forever, say "0".
|
|
|
|
#/opt/webserver/log * 0
|
2011-02-23 15:39:35 +01:00
|
|
|
|
2013-01-16 21:26:17 +01:00
|
|
|
# / will be used as separator.
|
|
|
|
# More than one pattern in one directory.
|
|
|
|
#/opt/dbsrc/log *.log.*/*.log
|