Re: Windows' dir /s /b equivalent

2007-02-15 Thread Ignazio Di Napoli
Svend Sorensen wrote: ls has a recursive flag for ls (-R), but the find command may be more appropriate for scripting. Thank you!!! Ignazio -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://

Re: Windows' dir /s /b equivalent

2007-02-15 Thread Ignazio Di Napoli
fergus wrote: find . Exactly!!! Thank you very much!!! 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/

Re: Windows' dir /s /b equivalent

2007-02-15 Thread fergus
What about something along the lines of these examples? find . find . | sort find /usr/local | sort also find . -type d # to list just directories find . -type f # to list just files find . -type l # to list just links Any use? Fergu

Re: Windows' dir /s /b equivalent

2007-02-15 Thread Svend Sorensen
On 2/15/07, Ignazio Di Napoli wrote: 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

Windows' dir /s /b equivalent

2007-02-15 Thread Ignazio Di Napoli
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 whi