[PD] ignore hidden files from hcs/folder_list

Dan Wilcox danomatika at gmail.com
Tue May 4 18:22:22 CEST 2021


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 at 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 at gmail.com <mailto:danomatika at 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 at lists.iem.at <mailto:pd-list-request at 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/>



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20210504/a8ec9780/attachment.htm>


More information about the Pd-list mailing list