[Ilugc] Directory Tree Utility

  • From: arvindn@xxxxxxxxxxxxxxxxxxxxxxxxxx (Arvind Narayanan)
  • Date: Thu, 15 Apr 2004 12:18:05 +0530

On Wed, Apr 14, 2004 at 07:47:15PM +0530, Sridhar R wrote:


PPE said:
Hi,

In the process of learning to use/program under linux (still
learning...), i wrote a small utility to list the tree structure of a
given directory. I found it quite userful (as a linux newbie) to
visualise the directory structures of the OS and other apps in my
system.


   That's an appreciated work.  I think now you should look at some of the
   scripting languages available like,  1. Perl
  2. Python (search google for "why python esr" without quotes)
  3. Ruby
  4. ... (even bash)

   A scripting would have achieved this job with few lines of code and few
   minutes of development ;)
Besides, there already exists a program called tree. 

$man tree

   Tree is a recursive directory listing program that produces a depth
   indented listing of files.

Arvind
-- 
Q: Do you ever think about quantum computing?  
Linus: I think that's a load of bull.
(From a Linux Lunacy cruise interview. After the presumptuous disparagement
of QC, Linus goes on to confuse it with DNA computing.)

Other related posts: