From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32045 invoked by alias); 17 May 2008 00:47:55 -0000 Received: (qmail 32036 invoked by uid 22791); 17 May 2008 00:47:54 -0000 X-Spam-Check-By: sourceware.org Received: from dessent.net (HELO dessent.net) (69.60.119.225) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 17 May 2008 00:47:37 +0000 Received: from localhost ([127.0.0.1] helo=dessent.net) by dessent.net with esmtp (Exim 4.50) id 1JxAaE-0007UR-R9; Sat, 17 May 2008 00:47:34 +0000 Message-ID: <482E2B24.ED4E0F99@dessent.net> Date: Sat, 17 May 2008 00:52:00 -0000 From: Brian Dessent X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) MIME-Version: 1.0 To: vapid@mindless.com CC: cygwin@cygwin.com Subject: Re: links broken during a backup (not restore), need more info on how they work to fix & file bug with vendor References: <20080516225304.E3502104F0@ws1-3.us4.outblaze.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin@cygwin.com Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2008-05/txt/msg00343.txt.bz2 vapid@mindless.com 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/