[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [hobbit] cleaning old data
- To: <hobbit (at) hswn.dk>
- Subject: RE: [hobbit] cleaning old data
- From: "Linder, Doug (SABIC Innovative Plastics, consultant)" <Doug.Linder (at) sabic-ip.com>
- Date: Mon, 30 Jun 2008 15:00:48 -0400
- References: <486924BF.2020002 (at) weatherdata.com>
- Thread-index: Acja3sj8nnRjioeQShSOPITh6yGwngABJWDg
- Thread-topic: [hobbit] cleaning old data
Daniel Bourque [mailto:dbourque (at) weatherdata.com] wrote:
> I only want to keep 1 year of historical data
> can I simply cron :
> /opt/hobbit/data$ find . -type f -mtime +360 -exec rm {} \;
> Without breaking anything ?
Use the trimhistory command.
Doug Linder