← All recipes

Hunt Unnecessary Files on Kinsta

Returns storage usage of debug.log file and private folder on Kinsta.

results=""
if [ -f wp-content/debug.log ]; then 
    results+="$( du -sh wp-content/debug.log )\n"
fi
results+="$( du -sh ~/private )\n"
results+="$( wp option get home )"
echo -e $results
Run it across a fleet

Open the console in CaptainCore Manager, pick the target sites, choose this recipe from the Cookbook picker and press run. The CLI streams each site's output back to the dock.

About the console →