How to share the file names of all the files in a folder in Android?
Install Termux
Grant Storage permission
Do:

~$ find /sdcard/Music/ -type f &gt;/sdcard/list_of_files.txt



Replace Music directory with whatever you want.