Q: How can I show >10,000 items
I have a USB drive that functions as an archive for my music files.
I'm trying to return counts on the various file types. I expect that I have >14K m4a files. Because Finder stops searching when it hits the 10K wall, I cannot get an exact count. Serously? I mean my iMac _IS_ a computer, right? It seriously cannot handle more than 10K results? I'm very disappointed.
Other posts instruct me to scroll to the end of the list and click a "More" button. However, I cannot find a "More" button anywhere in the UI.
Is there a way to override this ludicris 10K limitation? I tried running an ls shell command, but I cannot figure out how to cd to the USB drive.
Any help would be greatly appreciated.
Posted on Mar 20, 2013 6:21 AM
How is the drive formatted? In OS X, with the drive as Mac OS Extended, a folder can contain up to 2.1 billion files and folders. How many it can hold isn't the same as how many it will display, but I can't think of any reason it would cut off at 10K.
If you want to run a list of what's on the USB drive in Terminal, you put in the name of the drive. So if the drive's desktop name is Music, you would enter:
ls /volumes/music
Which would show you the root entries. To show all files within folders, add the recursive command:
ls -R /volumes/music
With ls, -R is different from -r, so make sure to use the uppercase.
Posted on Mar 20, 2013 6:33 AM