Mailinglist Archive: opensuse (1420 mails)

< Previous Next >
Re: [opensuse] Directory tree structure?
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

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


find . -type d

Ciao, Marcus
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups