This is the mail archive of the
mailing list for the Cygwin project.
Re: How to make "ls" as quick as a Windows "dir"?
- From: "Larry Hall \(Cygwin\)" <reply-to-list-only-lh at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Sun, 06 Feb 2011 22:10:02 -0500
- Subject: Re: How to make "ls" as quick as a Windows "dir"?
- References: <99C327BE35E54B81B97E7DCAF53941A2@sulzer.de>
- Reply-to: cygwin at cygwin dot com
On 2/6/2011 4:37 PM, Paul Maier wrote:
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.
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
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple