Say that under document root I have 3 apps; One is WordPress, second is Drupal, and third is Magento.
I wonder what's a good way to delete all cache directories of all CMSs under document root.
I could run a script with shell extensions for all (WP-CLI, Drush and Magento CLI), but what would be a good Bash-global way?
I thought of this to delete all cached files (${drt} = document root):
find ${drt}/*/cache/* -type f -exec rm -rf {} \;