X-Spam-Check-By: sourceware.org Message-ID: <44973198.8EF6D8C5@dessent.net> Date: Mon, 19 Jun 2006 16:22:00 -0700 From: Brian Dessent X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: loop through folders References: <4945011 DOT post AT talk DOT nabble DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com mwoehlke wrote: > This is not a Cygwin question. However, 'find . | xargs ' > might help you. It's not a bad idea to get into the practice of always doing "find . -print0 | xargs -0 " instead of the above. Otherwise, files with spaces or other strange characters in their names will cause the command to fail. And even if you don't happen to have any filenames with spaces at the moment, it doesn't hurt -- it's just good hygeine. 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/