home | list info | list archive | date index | thread index

Re: looking for particular "tree"-like recursive directory display


On 2020-02-24 4:37 p.m., Brett Delmage wrote:
Interestingly, does not work on Ubuntu 18.04. The tree bar elements appear to be real graphic characters.

so instead:
tree -F | sed -e 's/│/ /g' -e 's/`/ /g' -e 's/ ─ / /g' -e 's/├//' -e 's/└//' -e 's/─//g'


Try: tree --charset ASCII


To unsubscribe send a blank message to linux+unsubscribe [ at ] linux-ottawa [ dot ] org
To get help send a blank message to linux+help [ at ] linux-ottawa [ dot ] org
To visit the archives: https://lists.linux-ottawa.org