home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / question / 13702 < prev    next >
Encoding:
Internet Message Format  |  1992-11-20  |  956 b 

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!lhc!adm!news
  2. From: partl@hp01.boku.ac.at (Hubert Partl)
  3. Newsgroups: comp.unix.questions
  4. Subject: Re: Recursive directory listing
  5. Message-ID: <34168@adm.brl.mil>
  6. Date: 20 Nov 92 09:16:08 GMT
  7. Sender: news@adm.brl.mil
  8. Lines: 16
  9.  
  10. > Hi -- I'd like to get a recursive directory listing, similar to what TREE
  11. > does in MS-DOS.  The FAQ list I consulted gives 3 options:
  12. >         ls -R
  13. >         find . -print
  14. >         du -a .
  15. > However, none of these work as I would like; I want to see directories
  16. > only, NOT files.
  17.  
  18.           du .
  19. (without the -a option) will give you directories only.
  20.  
  21. --
  22. Dr. Hubert Partl                              Mail:  partl@mail.boku.ac.at
  23. EDV-Zentrum, Universitaet fuer Bodenkultur    Phone: (+43 1) 36 92 924 - 233
  24. Nussdorfer Laende 11                          Fax:   (+43 1) 36 92 924 - 200
  25. A-1190 Wien, Austria                          (-:  Make laugh, not war!  :-)
  26.