X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Ignazio Di Napoli Subject: Windows' dir /s /b equivalent Date: Thu, 15 Feb 2007 21:10:09 +0100 Lines: 12 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Hi everyone. I'm newbie with Cygwin. Looking through ls option, I didn't find anything to list then names of all files in the directory and all subdirectories, like dir /b /s does. Since it can be very useful in bash scripts, there must be some way. Right now I've done a recursive function which scans the directory and then launches itself for subdirectories, but it could be much simpler if there was the "dir /b /s" command, so I can't think anybody implemented it... Can you help me please? Thank you, Ignazio -- 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/