The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 03-12-2009
nuvpal nuvpal is offline
Registered User
  
 

Join Date: Mar 2009
Posts: 7
Quote:
Originally Posted by radoulov View Post
I still cannot understand: given your example direc1.1, 1 is the name of the subdirectory or some sort of auto incremented id?
Do you want to produce an output similar to this one:


Code:
$ find -type d
.
./dir1
./dir1/dir11
./dir1/dir11/dir111
./dir1/dir12
./dir1/dir12/dir121
./dir2
Kind of... Simply put, what I would like to do is create a script which displays an output similar to the unix tree command

Code:
tree ~

but only list directories and subdirectories, no files.

I hope that is clearer. And I greatly appreciate your help and time.