a8m/tree

Include Option --prune

patgmiller opened this issue · 3 comments

@a8m On your list of task to add all options, #1, I notice you don't have --prune which is simply to exclude empty directories from the output. Here's the man page details on it.

--prune
              Makes tree prune empty directories from the output, useful when used in conjunction with -P or -I.

I am wondering is there a specific reason you don't include it. I am willing to work on implementing it.

I've added the --prune option here, patgmiller/tree/compare/17-add-options. I'm also looking to add --matchdirs.

a8m commented

Hey @patgmiller,
You're welcome to create a PR to add this.

cc @ncw

a8m commented

Closed with #18