Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 32 lines (27 sloc) 1.814 kb
#! /bin/bash
#
# This script will remove all cache-files.
#
# @version 1.0.0
# @author Tijs Verkoyen <tijs@sumocoders.be>
rm -f `find ../install/cache/ ! -name ".gitignore" -type f ! -path *.svn/* -type f`
rm -f ../install/installed.txt
rm -f `find ../frontend/cache/cached_templates/ ! -name ".gitignore" -type f ! -path *.svn/* -type f`
rm -f `find ../frontend/cache/config/ ! -name ".gitignore" -type f ! -path *.svn/* -type f`
rm -f `find ../frontend/cache/locale/ ! -name ".gitignore" -type f ! -path *.svn/* -type f`
rm -f `find ../frontend/cache/minified_css/ ! -name ".gitignore" -type f ! -path *.svn/* -type f`
rm -f `find ../frontend/cache/minified_js/ ! -name ".gitignore" -type f ! -path *.svn/* -type f`
rm -f `find ../frontend/cache/navigation/ ! -name ".gitignore" -type f ! -path *.svn/* -type f`
rm -f `find ../frontend/cache/compiled_templates/ ! -name ".gitignore" -type f ! -path *.svn/* -type f`
rm -f `find ../backend/cache/analytics/ ! -name ".gitignore" -type f ! -path *.svn/* -type f`
rm -f `find ../backend/cache/config/ ! -name ".gitignore" -type f ! -path *.svn/* -type f`
rm -f `find ../backend/cache/cronjobs/ ! -name ".gitignore" -type f ! -path *.svn/* -type f`
rm -f `find ../backend/cache/locale/ ! -name ".gitignore" -type f ! -path *.svn/* -type f`
rm -f `find ../backend/cache/mailmotor/ ! -name ".gitignore" -type f ! -path *.svn/* -type f`
rm -f `find ../backend/cache/navigation/ ! -name ".gitignore" -type f ! -path *.svn/* -type f`
rm -f `find ../backend/cache/compiled_templates/ ! -name ".gitignore" -type f ! -path *.svn/* -type f`
rm -f `find ../backend/cache/logs/ ! -name ".gitignore" -type f ! -path *.svn/* -type f`
rm -f ../library/globals.php
rm -f ../library/globals_frontend.php
rm -f ../library/globals_backend.php
echo 'All done! Ready for reinstall.'
Jump to Line
Something went wrong with that request. Please try again.