Fedora Linux Support Community & Resources Center
Old 19th March 2009, 04:38 AM
Crazy4Fedora Offline
Registered User
Join Date: Nov 2006
Posts: 4
automatic disk log cleanup bash script

Here's an automatic cleanup script from me to you!

Who is this for? Anyone who wants to clean-up log files on any posix system (ubuntu, other linux distros,solaris,etc), for any server software that generates log files, and do so automatically and dynamically without having to make any modifications to the script. I attached the script and user documentation. I'm passionate about this, because I believe it could be useful for a great many people in the global unix community.
[Please see the archive that has the most updated script and documentation.]

It allows one to process a directory (most typical invocations would be a log directory), and would be triggered when a user specified disk capacity is met. It would then cleanup as mandiated by the parameters passed, until a target capicity is reached or there are no more files to process. This script, wisely leveraged, can save a great deal of time and almost single-handedly eliminate the need for SAs to cleanup systems.

If you're not an SA, you can still find use for it, to cleanup automatically. Please look at the documentation and script to see how it can save you time. Thanks for your time, and I hope you'll have more of it with this script on your tool-belt. Please feel free to send constructive critisms, feedback, how you leveraged it to save time.

Call your parent's, your kids, your friends, your friend's parents, your boss, his/her boss, your underlings: Tell 'em it was a good day, give them the 411. Get the word out. Thanks!

Last edited by Crazy4Fedora; 24th March 2009 at 12:23 AM. Reason: adding user documentation and script in attached tar, stating who this would be good for.
Reply With Quote
Old 24th March 2009, 12:30 AM
Crazy4Fedora Offline
Registered User
Join Date: Nov 2006
Posts: 4
Link to script and documentation, usage, functionality, etc -- below

I'm having an issue uploading the script and documenation in this forum. I have posted it elsewhere. I can be retrieved here:

I'll ask the maintainers what the issue is, but in the interim be assured that the script & the documentation with it's usage, valuable, features, etc is there for your usage, and I do hope that you use it. Thanks again for your time.
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatic /tmp cleanup in Fedora 8 MheAd Using Fedora 1 2nd July 2008 11:41 AM
Convert bash script to perl script homey Programming & Packaging 1 2nd September 2006 04:24 AM
automatic script chief Using Fedora 1 7th April 2005 06:54 AM

Current GMT-time: 01:07 (Friday, 18-08-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat