Help
-
Search
-
Members
-
Calendar
Full Version:
Rotation of files
Linuxhelp
>
Support
>
Programming in Linux
MSK
Dec 7 2010, 10:56 AM
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
Dec 7 2010, 07:48 PM
Take a look at logrotate for a good starting point
MSK
Dec 7 2010, 07:56 PM
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?
michaelk
Dec 7 2010, 10:02 PM
http://www.thegeekstuff.com/2010/07/logrotate-examples/
http://linuxers.org/howto/howto-use-logrot...anage-log-files
http://www.linux.com/archive/feed/48390
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-2012
Invision Power Services, Inc.