Might I suggest:
find path/to/sample/dir -name "._*.wav" -delete
:)
Test first without the "-delete" flag.
On May 4, 2021, at 6:09 PM, Samuel Burt composer.samuel.burt@gmail.com wrote:
Same directory. These samples were created by someone else, so I don't know what program created them.
On Tue, May 4, 2021, 10:39 AM Dan Wilcox <danomatika@gmail.com mailto:danomatika@gmail.com> wrote: I'm interested in more info about this behavior. I'm only aware of macOS Finder creating .DS_Store files and temp directories so Spotlight can index and show media playback via Quick Look. Is something creating hidden temp files in the same directory as the audio files themselves or are these in a subdirectory?
On May 4, 2021, at 3:47 PM, pd-list-request@lists.iem.at mailto:pd-list-request@lists.iem.at wrote:
I'm loading a directory of audio files but there are a ton of ._files.wav that were created by OSX. I've got a bunch of audio sample directories like this and I could go through and remove all these files, but this software will also be used by someone on a Mac, so it's better to just ignore this inconvenient OS behavior if possible.
Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/