Over a million developers have joined DZone.

Tree

·

#!/bin/sh
# $Id: tree,v 1.1 2003/11/25 14:05:34 rcs Exp rcs $

if [ $# -lt 1 ]
then
   echo "Usage: $0 path1 path2 ... [find-options]"
else
   find $@ -print 2>/dev/null | sed -e 's/[^\/]*\//|-- /g' -e 's/-- |/    |/g'
fi

### EOF
Topics:

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}