September 2017

S M T W T F S
     12
34 56789
10111213141516
17181920212223
24252627282930

Style Credit

Expand Cut Tags

No cut tags
Monday, March 26th, 2012 04:01 pm
A little snippet:

find ${1:-.} -type d -print | sed -e 's;[^/]*/;|____;g;s;____|;    |;g'

(From the internets.)
Monday, March 26th, 2012 08:02 pm (UTC)
Симпатишно.
Можно и без -type d
Monday, March 26th, 2012 08:04 pm (UTC)
This way it works like MS Windows tree command, giving the structure of the folders tree.
Tuesday, March 27th, 2012 03:09 am (UTC)
Можно, но ответ получается другой.