Skip to content

Instantly share code, notes, and snippets.

@TylerSustare
Last active January 17, 2023 17:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TylerSustare/9d0bf8ac4dfef8c9f74dce7da9386ab4 to your computer and use it in GitHub Desktop.
Save TylerSustare/9d0bf8ac4dfef8c9f74dce7da9386ab4 to your computer and use it in GitHub Desktop.
#!/usr/bin/ruby
require 'fileutils'
FileUtils.rm_r Dir.glob './**/node_modules'
FileUtils.rm_r Dir.glob './**/dist'
#!/bin/bash
find . -name node_modules -type d -print0 | xargs -0 rm -r --;
find . -name dist -type d -print0 | xargs -0 rm -r --
@TylerSustare
Copy link
Author

TylerSustare commented Jan 17, 2023

chmod +x clean.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment