Page 1 of 1

File directory strings

Posted: 05 Nov 2019 03:34
by Lucy
Can i read the file names un a directory through flow? I mean like . Can i have a query passed through the flow to provide exact files titles and paths of any given directory and/or sub directory and have it shown in a string via dialog or something similar?

Re: File directory strings

Posted: 05 Nov 2019 18:34
by Desmanto
Use action execute command, use this command

Code: Select all

find /sdcard/download
This will list all the files and folders including subfolders in full list path format per line

If you need only the files, ignoring the folders, use

Code: Select all

find /sdcard/download -type f

Re: File directory strings

Posted: 06 Nov 2019 00:21
by Lucy
Cool bananas. Thank you