find . -regex '.*js' -type f -exec md5sum '{}' \\; really slow!
Marco Atzeri
marco_atzeri@yahoo.it
Mon Nov 24 18:57:00 GMT 2008
--- 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/
More information about the Cygwin
mailing list