Skip to content
Snippets Groups Projects
Select Git revision
  • 1ec85e30aeacf76a2cf2bcf3eb3f836ff4f7e051
  • main default protected
  • 1-mage-run-does-not-stop-containers
  • v0.27.0
  • v0.26.0
  • v0.25.0
  • v0.24.0
  • v0.23.0
  • v0.22.0
  • v0.21.0
  • v0.20.0
  • v0.19.0
  • v0.18.0
  • v0.17.0
  • v0.16.0
  • v0.15.0
  • v0.14.0
  • v0.13.0
  • v0.12.0
  • v0.11.0
  • v0.10.0
  • v0.9.0
  • v0.8.0
23 results

clear-cdk-cache.sh

Blame
  • clear-cdk-cache.sh 440 B
    #!/bin/bash
    set -e
    
    # Check what will be deleted:
    #(cd ../cdk; find . -wholename "*/cdk.out/asset.*" -type d -prune -print | xargs du -chs)
    #(cd ../cdk; find . -wholename "*/cdk.out/.cache" -type d -prune -print | xargs du -chs)
    
    # Actually delete them:
    (cd ../cdk; find . -wholename "*/cdk.out/asset.*" -type d -prune -print -exec rm -rf '{}' \;)
    (cd ../cdk; find . -wholename "*/cdk.out/.cache" -type d -prune -print -exec rm -rf '{}' \;)