Re: [newbie] Printing the root folder including the corresponding folders
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
Re: [newbie] Printing the root folder including the corresponding folders
How about ls -lR | grep drwx lp or whatever the printer re-direct is. It may not be as pretty as you like it, but it's a start. You could write a script to re-format it. Miark - Original Message - From: Romanator [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, June 23, 2001 7:46 AM Subject: [newbie] Printing the root folder including the corresponding folders 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
Re: [newbie] Printing the root folder including the corresponding folders
On Sunday 24 June 2001 01:34, Miark wrote: How about ls -lR | grep drwx lp or whatever the printer re-direct is. It may not be as pretty as you like it, but it's a start. You could write a script to re-format it. [...] I think that should be ls -lR | grep drwx | lp, otherwise you should get an access denied message. -- Peter Ruskin, Wrexham, Wales. Registered Linux User No. 219434 ( see http://counter.li.org/ ) Linux Mandrake release 8.0 (Traktopel) for i586 Linux 2.4.3-20mdk-win4lin-pnr, KDE: 2.1.2, Qt: 2.3.1 Uptime 1 day 0 hours 59 minutes
Re: [newbie] Printing the root folder including the corresponding folders
Roman, You're talking about printing a tree of folders? Nice idea. Can't see myself using it a lot, but what the hey. How about the option of customing the right-click menu for just about anything, or for repetitive jobs. Kinda like a wizard that sees the things you do most, and allows you to put them into the right-click menu? Dan On June 23, 2001 09:46 am, you 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
Re: [newbie] Printing the root folder including the corresponding folders
I would like the option of customizing the right-click menu. Sort'a like a kpanel for right-clicks. I like it already. Gotta get to work. Lanman wrote: Roman, You're talking about printing a tree of folders? Nice idea. Can't see myself using it a lot, but what the hey. How about the option of customing the right-click menu for just about anything, or for repetitive jobs. Kinda like a wizard that sees the things you do most, and allows you to put them into the right-click menu? Dan On June 23, 2001 09:46 am, you 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