by Patrick Corgan
Version 1 (October 2, 2023)
Download (178 downloads)
An example of using glob() to obtain a filtered list of file paths. Currently set up to get all files ending in ".mp3" (can be changed in the 'GLOB_PATTERN' variable in block 12) from the directory returned by the 'storage("downloads")' function (can be changed in the 'FILE_PATH' variable in block 9). If you want just the names of the files, you can hook up the unconnected for-each loop.
π‘πΌππ²
As of Automate version 1.23.1, this flow is no longer necessary for filtering files by extension; there is now a 'File extension' option in the "File pick" block. This flow can be used to filter files by other glob patterns, though.
------------------------------
ππΊ ππ’π΅π³πͺπ€π¬ ππ°π³π¨π’π―
π οΈππ πππππ₯π€ πππ ππ£ππ₯ππππ€ππ€ π¨ππππ ππβοΈ
------------------------------
5 stars | 2 | |
4 stars | 0 | |
3 stars | 0 | |
2 stars | 0 | |
1 star | 0 | |
Reports | 0 |
Rate and review within the app in the Community section.