=head1 NAME rbclean - RRDBrowse Cleanup Utility =head1 SYNOPSIS B<rbclean> [ B<-flags> ] =head1 DESCRIPTION This utility cleans up old PNG and Cache data left by the rrdbrowse package. Old data is defined as older than 24hrs. B<Warning:> This utility can wipe all of your cached data. The next time the update daemon is run it can take a long time because it has to refresh all the cache data at once. =head1 OPTIONS =over 8 =item B<-p> Instruct the program to delete all PNG data. =item B<-c> Instruct the program to delete all Cache data. =item B<-d> Dry-run the program. It prints what it would delete on the screen so you can check if you don't delete any important data or such. =item B<-f> Force deleting ALL files instead of only old files. =back =head1 RETURN VALUE The program doesn't return any usefull values, nor it prints anything on the screen. Except in dry-run (-d) mode it will print what it intents to delete. =head1 EXAMPLES To delete old PNG and Cache data from your daily maintenance scripts: =over 8 =item B<rbclean -pc> =back To delete all of your PNG files so apache/rrdtool must refresh: =over 8 =item B<rbclean -pf> =back =head1 FILES =over 8 =item F</etc/rrdbrowse.conf> reads the options 'cachepath' and 'pngpath' form here. =back =head1 BUGS Not anything I don't know of yet, if you find any, please report them to me <S<rrdbrowse@chiparus.org>> Visit RRDBrowse on the web: http://home.support.nl/~tommy/rrdbrowse =head1 AUTHOR Tommy van Leeuwen <S<tommy@chiparus.org>> =head1 SEE ALSO RRDBrowse README, rbupdate(1), rbtest(1)