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, but find is preinstalled, so there is that.
That doesn’t work,
DS_Storeare files not directories ( you need to use-type f).An equivalent
findcommand would be:find "$HOME" -type f -name '.DS_Store' -delete -printfindtakes a while;fdis way, way faster, butfindis preinstalled, so there is that.