TILs, snippets—my digital code garden 🌱. By Zander Martineau
All tags All notes javascript (47) css (33) react (32) html (13) typescript (9) testing (8) node (4) cli (4) graphql (4) devops (4) git (4) cheatsheet (4) storybook (2) typography (2) networking (1) animation (1) services (1) api (1) a11y (1) deno (1) cypress (1) vscode (1) 11ty (1) untagged (15)
© 2023 • Made by Zander • Colophon • RSS

🧼 Cleanup / optimise computer

Note date 26 Mar, 2020
👋 FYI, this note is over 6 months old. Some of the content may be out of date.
  • https://medium.freecodecamp.org/how-to-free-up-space-on-your-developer-mac-f542f66ddfb
  • https://gist.github.com/Aidurber/7549d3f83b00052cee745a6c4dcf7b9d
find . -name "node_modules" -type d -mtime +120 | xargs rm -rf

The mtime arg is in days, e.g. 120 is about 4 months & 240 is about 8 months`


← Back home