find . -type f -name .DS_Store -delete
Re:macOS keeps a huge wallpapers cache
by kergonath on Wednesday September 28, 2022 @11:14AM
(#33008960)
I tend to do rm **/.DS_Store . I know itβs slow when there are lots of files, but it is still quicker than opening a man page or Stack Overflow to figure out what the hell the syntax is to do it with find.
Re:macOS keeps a huge wallpapers cache
by Am4TIfIsER0ppos on Wednesday September 28, 2022 @03:12PM
(#33011948)
Is that a meme like with `tar`?
Use case is taking a copy (via say tar) of a directory hierarchy on a MacOS drive, and copying that to another system (Linux), and untarring... then you've got all the .DS_store files everywhere...
Not the end of the world, but annoying...