This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]