File directory strings

Post your questions and help other users.

Moderator: Martin

Post Reply
Lucy
Posts: 225
Joined: 10 Aug 2019 11:24

File directory strings

Post by Lucy » 05 Nov 2019 03:34

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?

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: File directory strings

Post by Desmanto » 05 Nov 2019 18:34

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
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

Lucy
Posts: 225
Joined: 10 Aug 2019 11:24

Re: File directory strings

Post by Lucy » 06 Nov 2019 00:21

Cool bananas. Thank you

Post Reply