[EMAIL PROTECTED] wrote: > Maybe someone can come up with a fancier find. I had to spawn a bash to > use the && and delay the evaluation of the `cygpath {}`. There's a lot of > quoting to deal with spaces in filenames.
You can speed things up a lot by only running cygpath once, e.g.: (echo "@echo off"; \ find / -name \*.lnk | cygpath -w -f - | \ perl -ne 'chomp; print "attrib +R \"$_\"\n"') >doit.bat && cmd.exe doit.bat Brian -- 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/