Skip to content
Articles
Article

I found 21 GB of build folders hiding inside my projects, including ones nested in other projects

by Anindya Chatterjee dev.to

2 min read

My laptop ran out of space again. Not from photos or videos. From build output. A target/ in every Rust crate. A node_modules/ in every web project. A build/ and .dart_tool/ in every Flutter app. None of it matters, and all of it comes back the next time I build. One scan of my code folder found 21.5 GB across 8 projects. The bash script that missed half of it For a while I used a small script. W…

Forum

Questions about this, or something to add?

Discuss on the forum

Report this · Wrote this? Claim it

FlutterX is supported by