Help - Search - Members - Calendar
Full Version: Rotation of files
Linuxhelp > Support > Programming in Linux
MSK
Hi,

I need to write a program where I can rotate files, keeping a give number of old log files. I'm new to programming and not sure where to begin.

Any suggestions would be very much appreciated.

Thank you,
Sue Ann
michaelk
Take a look at logrotate for a good starting point
MSK
QUOTE (michaelk @ Dec 7 2010, 07:48 PM) *
Take a look at logrotate for a good starting point

What is logrotate? Where do I go to look at this?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.