delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/02/15/15:20:33

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Ignazio Di Napoli <neclepsio AT gmail DOT com>
Subject: Windows' dir /s /b equivalent
Date: Thu, 15 Feb 2007 21:10:09 +0100
Lines: 12
Message-ID: <er2emu$vbm$4@sea.gmane.org>
Mime-Version: 1.0
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: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019