This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]