Created
July 26, 2016 09:05
-
-
Save mehdichaouch/0431b52ad112c3c0120554d086e77375 to your computer and use it in GitHub Desktop.
Symfony2 clear cache without sessions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
find ./var/cache/* -not \( -path "./var/cache/sessions" -prune \) -exec rm -rf {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment