This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: find . -regex '.*js' -type f -exec md5sum '{}' \\; really slow!
- From: Marco Atzeri <marco_atzeri at yahoo dot it>
- To: cygwin at cygwin dot com
- Date: Mon, 24 Nov 2008 16:46:03 +0100 (CET)
- Subject: Re: find . -regex '.*js' -type f -exec md5sum '{}' \\; really slow!
--- 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/