News for hackers. Stuff that matters.
Re:Ask HN: Clean disk tool by removing build artifacts by jjgreen on Monday June 01, 2020 @05:45AM (#23376774)

    find <dir> -name <pattern> | xargs rm
Test it with just the "find" first as you experiment with <pattern>
Re:Ask HN: Clean disk tool by removing build artifacts by 5422m4n on Monday June 01, 2020 @03:32PM (#23382707)
sure, I could do that, but I remember recently there was a tool, I believe written in rust, that was coming with a lot of patterns pre build in that tests for a lot different contexts (rust, node, cmake, java, flutter etc) and then lists all those directories that then can be piped to rm or tar or whatever.