<div style="color:black;font: 10pt arial;">oh, maybe windows doesn't have that kind of globbing. guess it only works on unix<br>
<br>
dang
<div><br>
</div>

<div>
<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: Sebastian Shader <sebfumaster@aol.com><br>
Cc: pd-list@lists.iem.at <pd-list@lists.iem.at><br>
Sent: Wed, May 5, 2021 10:37 am<br>
Subject: Re: [PD] ignore hidden files from hcs/folder_list<br>
<br>

<div id="yiv8313858331">
<div>
<div dir="ltr">I'm assuming you feed the input of  [hcs/folder_list] with the message [symbol [!.]*(  yes?
<div>When I do I get an error where it doesn't find any files.</div>

<div><font face="monospace">[folder_list] nothing found for "C:/Users/username/Music/Samples/crotales/[!.]*.wav"</font><br clear="none"></div>

<div><br clear="none"></div>

<div>I am not sure it's actually disregarding hidden files but more likely looking for a file that starts with "[!.]". Am I wrong?</div>

<div><br clear="none"></div>

<div><br clear="none"></div>
</div>
<br clear="none">
<div class="yiv8313858331yqt5911704039" id="yiv8313858331yqt26978">
<div class="yiv8313858331gmail_quote">
<div class="yiv8313858331gmail_attr" dir="ltr">On Tue, May 4, 2021 at 7:08 PM Sebastian Shader <<a rel="nofollow noopener noreferrer" shape="rect" ymailto="mailto:sebfumaster@aol.com" target="_blank" href="mailto:sebfumaster@aol.com">sebfumaster@aol.com</a>> wrote:<br clear="none"></div>
<blockquote class="yiv8313858331gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex;">

<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 clear="none">
</div>



<div>-seb<br clear="none">
<br clear="none">


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

</font>
<div id="yiv8313858331gmail-m_6548271025094200484yiv0581391226">

<div dir="ltr">Hi, all.

<div><br clear="none">
</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 clear="none">
</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 clear="none">
</div>



<div>Thanks!</div>



<div>Sam</div>



<div><br clear="none">
</div>

</div>


</div>

_______________________________________________<br clear="none">
<a rel="nofollow noopener noreferrer" shape="rect" ymailto="mailto:Pd-list@lists.iem.at" target="_blank" href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br clear="none">
UNSUBSCRIBE and account-management -> <a rel="nofollow noopener noreferrer" shape="rect" target="_blank" href="https://lists.puredata.info/listinfo/pd-list">https://lists.puredata.info/listinfo/pd-list</a><br clear="none">
</div>

</div>

</div>

</blockquote></div>
</div>

</div>
</div>
</font></div>
</div>
</div>