Hello,
I want to list all the files from a directory (but just the files, no
other directories).
Any ideas how ?
I was thinking of using lf -F and then remove all the elements that
contain the “/” character, but i have no ideea how to acomplish this.
Anyway just a thought.
Hello,
I want to list all the files from a directory (but just the files, no
other directories).
Any ideas how ?
I was thinking of using lf -F and then remove all the elements that
contain the “/” character, but i have no ideea how to acomplish this.
Anyway just a thought.
Thanks…
You can use the Dir class to do that pretty easily. If you just want
a list of all files in a directory excluding any subdirectories you
can do it like this: