Skip to content

Philipps Blog

my personal Site of Things

  • About
  • Friends
  • Home
  • About

Day: October 3, 2012

Command to Print Out Directory Tree Listing

2012-10-032012-10-03 Philipp2 Comments
ls -R | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/'

Found here

Posted in Bash, Snippets
Proudly powered by WordPress | Theme: Libre 2 by Automattic.
 

Loading Comments...