Last active
August 11, 2023 14:21
-
-
Save johnnyutahh/4d9df7b9b8ebbf11dbbaddffd1965a8f to your computer and use it in GitHub Desktop.
erdtree vs tree: displaying contents of multiple directories
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ erd --version | |
erdtree 3.1.2 | |
$ type erd | |
erd is hashed (/opt/homebrew/bin/erd) | |
$ | |
$ type tree | |
tree is hashed (/opt/homebrew/bin/tree) | |
$ tree --version | |
tree v2.1.1 © 1996 - 2023 by Steve Baker, Thomas Moore, Francesc Rocher, Florian Sesser, Kyosuke Tokoro | |
$ | |
$ type lld | |
lld is aliased to `ll -d' | |
$ | |
$ lld tmp* | |
drwx------ 2 XXX staff 64 Aug 11 10:09 tmp0tb0srg7/ | |
drwx------ 3 XXX staff 96 Aug 11 10:09 tmp89dqaowk/ | |
drwx------ 2 XXX staff 64 Aug 11 09:37 tmpbb60zsnp/ | |
drwx------ 3 XXX staff 96 Aug 11 09:37 tmph96j5nau/ | |
drwx------ 4 XXX staff 128 Aug 9 15:44 tmpjbg_p28a/ | |
$ | |
$ | |
$ tree tmp* | |
tmp0tb0srg7 | |
tmp89dqaowk | |
└── latest -> /var/folders/ck/v16v4dyx6dj_pdhnx8nl01qh0000gn/T/tmp89dqaowk/2023-08-11--10-09-26 | |
tmpbb60zsnp | |
tmph96j5nau | |
└── latest -> /var/folders/ck/v16v4dyx6dj_pdhnx8nl01qh0000gn/T/tmph96j5nau/2023-08-11--09-37-00 | |
tmpjbg_p28a | |
├── remote.git | |
│ ├── HEAD | |
│ ├── config | |
│ ├── description | |
│ ├── hooks | |
│ │ ├── applypatch-msg.sample | |
│ │ ├── commit-msg.sample | |
│ │ ├── fsmonitor-watchman.sample | |
│ │ ├── post-update.sample | |
│ │ ├── pre-applypatch.sample | |
│ │ ├── pre-commit.sample | |
│ │ ├── pre-merge-commit.sample | |
│ │ ├── pre-push.sample | |
│ │ ├── pre-rebase.sample | |
│ │ ├── pre-receive.sample | |
│ │ ├── prepare-commit-msg.sample | |
│ │ ├── push-to-checkout.sample | |
│ │ ├── sendemail-validate.sample | |
│ │ └── update.sample | |
│ ├── info | |
│ │ └── exclude | |
│ ├── objects | |
│ │ ├── info | |
│ │ └── pack | |
│ └── refs | |
│ ├── heads | |
│ └── tags | |
└── working | |
├── file1.txt | |
└── file2.txt | |
13 directories, 22 files | |
$ | |
$ erd tmp* | |
error: unexpected argument 'tmp89dqaowk' found | |
Usage: erd [OPTIONS] [DIR] | |
For more information, try '--help'. | |
$ | |
$ erd tmp0tb0srg7/ | |
No entries to show with given arguments. | |
$ | |
$ erd tmp89dqaowk/ | |
0 B ┌─ latest → /var/folders/ck/v16v4dyx6dj_pdhnx8nl01qh0000gn/T/tmp89dqaowk/2023-08-11--10-09-26 | |
tmp89dqaowk | |
1 link | |
$ | |
$ sw_vers | |
ProductName: macOS | |
ProductVersion: 12.6.5 | |
BuildVersion: 21G531 | |
$ | |
$ date | |
Fri Aug 11 10:15:32 EDT 2023 | |
$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment