for dir in *; do if [ -d "$dir" ]; then ( cd "$dir" && touch Caddyfilepart && rm caddy.json ) fi done