AW: How to make "ls" as quick as a Windows "dir"?

Paul Maier svn-user@web.de
Tue Feb 8 22:26:00 GMT 2011


> The best thing to do is to skip any flags for 'ls'.  If 
> cygwin has to open
> the file to fill in a particular piece of data, you're going 
> to see significant
> delays on a slow file-system/driver.

So the difference is, that "ls -l" openes all files, reading in all bytes to count them;
while Windows "dir" gets the file size from the directory?

Paul.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list