<div style="color:black;font: 10pt arial;">since hcs/folder_list uses globs you can just insert [!.] before the filename to exclude all files that start with ".":
<div>[symbol [!.]*.wav(</div>

<div>or</div>

<div>[symbol subdirectory/[!.]*.wav(</div>

<div><br>
</div>

<div>-seb<br>
<br>

<div style="font-family:helvetica,arial;font-size:10pt;color:black"><font size="2">-----Original Message-----<br>
From: Samuel Burt <composer.samuel.burt@gmail.com><br>
To: Pd-list <pd-list@lists.iem.at><br>
Sent: Tue, May 4, 2021 6:07 am<br>
Subject: [PD] ignore hidden files from hcs/folder_list<br>
<br>

<div id="yiv0581391226">
<div dir="ltr">Hi, all.
<div><br>
</div>

<div>Does anyone have a suggestion to ignore hidden files preceded by a dot? hcs/folder_list outputs all the files matching a wildcard pattern. Seems like there should be some way to look for files that start with a dot and not pass them.</div>

<div><br>
</div>

<div>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.</div>

<div><br>
</div>

<div>Thanks!</div>

<div>Sam</div>

<div><br>
</div>
</div>

</div>
_______________________________________________<br>
<a ymailto="mailto:Pd-list@lists.iem.at" href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" target="_blank">https://lists.puredata.info/listinfo/pd-list</a><br>
</font></div>
</div>
</div>