This has probably been answered before but I'll ask it again so newer users can learn. Is there an simple way to print a directory structure list (directories & sub-directories only)? I don't want to clutter it up with individual files (YES, directories are files!), only to show the tree. As I'm getting older I find I can't remember what my file structure is and need occasional reminders. Thanks, Tom KG7CFC -- Never be ashamed to ask for information. The ignorant man will always be ignorant if he fears that by asking he will display ignorance - Booker T Washington ^^ --... ...-- / -.- --. --... -.-. ..-. -.-. ^^^^ Tom Taylor - retired penguin - KG7CFC AMD Phenom II x4 955 -- 4GB RAM -- 2x1.5TB sata2 openSUSE 13.1_RC2-x86_64 KDE 4.11.12, FF 24.0, claws-mail 3.9.2 registered linux user 263467 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Sat, Jan 25, 2014 at 10:15:15AM -0800, Thomas Taylor wrote:
This has probably been answered before but I'll ask it again so newer users can learn.
Is there an simple way to print a directory structure list (directories & sub-directories only)? I don't want to clutter it up with individual files (YES, directories are files!), only to show the tree. As I'm getting older I find I can't remember what my file structure is and need occasional reminders.
find is your friend. find <DIRECTORY> -type d e.g. find . -type d Ciao, Marcus -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
В Sat, 25 Jan 2014 19:18:36 +0100 Marcus Meissner <meissner@suse.de> пишет:
On Sat, Jan 25, 2014 at 10:15:15AM -0800, Thomas Taylor wrote:
This has probably been answered before but I'll ask it again so newer users can learn.
Is there an simple way to print a directory structure list (directories & sub-directories only)? I don't want to clutter it up with individual files (YES, directories are files!), only to show the tree. As I'm getting older I find I can't remember what my file structure is and need occasional reminders.
find is your friend.
find <DIRECTORY> -type d
tree -d gives something more user friendly and "structured" result :
e.g.
find . -type d
Ciao, Marcus
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 1/25/2014 10:27 AM, Andrey Borzenkov wrote:
tree -d
gives something more user friendly and "structured" result :
Oddly, this package is not installed by default. poulsbo:~ # tree -d If 'tree' is not a typo you can use command-not-found to lookup the package that contains it, like this: cnf tree poulsbo:~ # cnf tree The program 'tree' can be found in the following package: * tree [ path: /usr/bin/tree, repository: zypp (repo-oss) ] Try installing with: zypper install tree After install, it is indeed quite useful. -- _____________________________________ ---This space for rent--- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* Thomas Taylor <linxt@comcast.net> [01-25-14 13:15]:
This has probably been answered before but I'll ask it again so newer users can learn.
Is there an simple way to print a directory structure list (directories & sub-directories only)? I don't want to clutter it up with individual files (YES, directories are files!), only to show the tree. As I'm getting older I find I can't remember what my file structure is and need occasional reminders.
tree -d -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (5)
-
Andrey Borzenkov
-
John Andersen
-
Marcus Meissner
-
Patrick Shanahan
-
Thomas Taylor