X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Mon, 24 Nov 2008 16:46:03 +0100 (CET)
From: Marco Atzeri <marco_atzeri@yahoo.it>
Subject: Re: find . -regex '.*js' -type f -exec md5sum '{}' \\; really slow!
To: cygwin@cygwin.com
In-Reply-To: <1227540449.7201.45.camel@LxPC35>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Message-ID: <553839.2035.qm@web25008.mail.ukl.yahoo.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

