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

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Mon Feb 7 03:10:00 GMT 2011


On 2/6/2011 4:37 PM, Paul Maier wrote:
> Hello,
>
> for my cygwin installation (cygwin-1.7.7-1, downloaded 2010-11-02, on a
> Windows XP SP 3), the time for a "ls -l" to complete is much slower than the
> time for a "cmd /C dir", although similar information gets displayed.
>
> Does anybody know a setting, maybe a flag to "ls", to make the ls as quick as
> the 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.

-- 
Larry

_____________________________________________________________________

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

--
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