Try the "tree" command. It's basically a clone of the old DOS programme. For 
details:

         $ man tree

You can send the output to a text file for printing (or directly to a printer 
if you really want):

         $ tree > filename

Note that if there are many files this can take a *very* long time.


On Sat, 23 Jun 2001 23:46, Romanator wrote:
> Hi everybody,
>
> How can Linux allow the user to print out the root directory and include
> the sub folders only?
> For example /root/1st sub/2nd sub/ and so on. Rather than dragging the
> folder over the printer icon on the desktop, there must be a more
> user-friendly way of implementing this feature.
> I have noticed that Windows Explorer doesn't allow you to print out a
> root directory with its sub folders in Explorer. In fact I have never
> seen this at all, and many people have inquired about this omission.
>
> This would a nice print feature to add to your 'right-click' menu in
> Konqueror.
>
> Any ideas or thoughts?
>
> Roman
> Registered Linux User #179293
> Email Powered By Tux Email Utility

-- 
Sridhar Dhanapalan.
        "There are two major products that come from Berkeley:
        LSD and UNIX. We don't believe this to be a coincidence."
                -- Jeremy S. Anderson

Reply via email to