| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-Spam-Check-By: | sourceware.org |
| Date: | Mon, 24 Nov 2008 16:46:03 +0100 (CET) |
| From: | Marco Atzeri <marco_atzeri AT yahoo DOT it> |
| Subject: | Re: find . -regex '.*js' -type f -exec md5sum '{}' \\; really slow! |
| To: | cygwin AT cygwin DOT com |
| In-Reply-To: | <1227540449.7201.45.camel@LxPC35> |
| MIME-Version: | 1.0 |
| Message-ID: | <553839.2035.qm@web25008.mail.ukl.yahoo.com> |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
--- Bartolomeo Nicolotti ha scritto:
> Hi,
>
> I'm using the command:
>
> /usr/bin/find . -type f -exec md5sum '{}' \\;
>
try this
find . -type f | xargs md5sum
> to compare the content of two subtree(161Mbytes) on
> different systems,
> one linux, and the other on windows with cygwin.
>
> The command on linux takes some seconds, while on
> windows+cygwin takes
> some minutes.
>
the -exec on cygwin is very slow.
http://cygwin.com/faq/faq-nochunks.html#faq.api.fork
> Could some one help me to speed-up things on
> windows+cygwin?
>
> Many thanks, best regards
>
> B.Nicolotti
>
Regards
Marco
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |