Fancy stuff about my technical life
What this all about is....clean_websvn_temp.sh
posted by cimnine @ 3:36pm, Tuesday 3 February 2009.
Today I just want to provide that script, letting you cleaning up you websvn temp directory.
#!/bin/bash
#Author:
# cimnine <cimnine@gmail.com>
#Version:
# 0.1
#Purpose:
# deletes all temp dirs older that 3 days.
#Instalation:
# Change the path below, so that it point to your websvn temp dir
# Add the script to cron. (This is distribution dependend.)
# Make it executable ("chmod a+x")
find /var/www/websvn/temp -type d -mtime +3 -exec rm -rf {} ;
Comments
Submit Your Comment
You are not logged in.