[PD] ignore hidden files from hcs/folder_list
oliver at klingt.org
Tue May 4 15:21:04 CEST 2021
Samuel Burt wrote:
> Hi, all.
> 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.
there's no way to achive that with [folder_list] itself.
you would have to examine every line of ouput, i'm afraid ...
1.) use [hcs/split_path] to just get the filename (without path)
2.) use vanilla's [list fromsymbol] to check for dots (ASCII code 46) at
the beginning of the list
More information about the Pd-list