This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Windows' dir /s /b equivalent
- From: Ignazio Di Napoli <neclepsio at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 15 Feb 2007 21:10:09 +0100
- Subject: Windows' dir /s /b equivalent
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/