Question about ls

Dennis Kaarsemaker dennis at
Thu Mar 3 08:09:04 UTC 2005

On Thu, 2005-03-03 at 08:43 +0100, Bernhard wrote:
> just writes the subdirectories in the path, but not recursively. Any
> hints? Thanks a lot in advance...

ls -R | grep ':$'

Works flawlessly if you don't have any files with names that end with
a :
Dennis K.
  And that's the way the cookie crumbles!

More information about the ubuntu-users mailing list