/[webpac2]/trunk/scripts/cleanup-var.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /trunk/scripts/cleanup-var.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1099 - (hide annotations)
Sat Aug 2 15:15:04 2008 UTC (15 years, 9 months ago) by dpavlin
File MIME type: application/x-sh
File size: 147 byte(s)
cleanup var cache for single database

1 dpavlin 1099 #!/bin/sh
2    
3     db=$1
4    
5     if [ -z "$db" ] ; then
6     echo "usage: $0 database_name"
7     exit
8     fi
9    
10    
11     ls -d var/*/$db | xargs -i sh -c "echo cleanup {} ; rm -Rf {}"

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26