Recursive find in "ls" utility doesn't seem to always work...
Tim Schoenfelder <[email protected]> Sun, 19 Oct 2003 15:15:33 -0500
| Newsgroups | gmane.comp.gnu.fileutils.bugs |
|---|---|
| Message-ID | <[email protected]> |
Hi, I manned the "ls" utility and it recommended reporting this to the above email address. My version of ls is: ls --version ls (fileutils) 4.1.9 Written by Richard Stallman and David MacKenzie. Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. My story: I was attempting to find all of the *.exe files in a win95 cdrom (troubleshooting an install on an older PC) so I tried the following command: ls -aR *.exe while in the mounted CD's win95 directory. I also tried the above without the "a" option with no luck. I even took the wildcard out and used a specific filename such as ls -aR wowkit.exe which failed(reported nothing). However, when I used a blanked recursive call through a pipe such as ls -aR | grep wowkit.exe reported wowkit.exe additionally ls -aR | grep .exe successfully reported all of the exe files on the cdrom. Could you please help me fix this? Sincerely, Tim Schoenfelder cc: Steve, a linux fluent friend...