untree icon indicating copy to clipboard operation
untree copied to clipboard

Feature request: print the path list to stdout instead of creating the directory tree

Open ngirard opened this issue 2 years ago • 0 comments

Hi @codeinred ,

I recently had to parse the tree(1) output of the contents of a production SFTP server for which I don't have direct access.

I met my needs by writing a quick and dirty Rust cli that converts the tree(1) output into a path list, i.e. turns

a
└── b
    └── c.txt

into

/a/b/c.txt

Yet I don't want to publish yet another tool while untree could possibly gain this feature. Could you please consider implementing this ?

Cheers

ngirard avatar Feb 24 '24 16:02 ngirard