Last Updated: February 25, 2016
· 0asa

List directory with up to 8 millions files

If you are facing the huge need to list a directory containing a huge amount of files and cannot do it with a simple 'ls' command, try this:

Download the file, compile it:

gcc listdir.c -o listdir

And use it like this:

./listdir [target dir] > target-ls.txt

Inspired by