1688
.DS_Store
(sh.itjust.works)
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
find . -name “.DS_Store” -type d -exec rm -rf {} + -print
That doesn't work,
DS_Store
are files not directories ( you need to use-type f
).An equivalent
find
command would be:find "$HOME" -type f -name '.DS_Store' -delete -print
find
takes a while;fd
is way, way faster, butfind
is preinstalled, so there is that.