Hacker News new | ask | show | jobs
by oandrew 1905 days ago
There is also

  tree --fromfile
e.g.

  echo a/b1 a/b2/c | xargs -n1 | tree --fromfile

  .
  └── a
      ├── b1
      └── b2
           └── c

 2 directories, 2 files