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@cygwin.com Subject: Re: loop through folders References: <4945011.post@talk.nabble.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 List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.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/