Last Updated: February 25, 2016
·
1.343K
· 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: http://d.pr/f/FdiF

Download the file, compile it:

gcc listdir.c -o listdir

And use it like this:

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

Inspired by http://bit.ly/Sg0luF