diff options
author | Nat Lasseter <user@4574.co.uk> | 2024-04-08 13:03:51 +0100 |
---|---|---|
committer | Nat Lasseter <user@4574.co.uk> | 2024-04-08 13:03:51 +0100 |
commit | 250a1985009ae5034ad23e7b1db171a41fabdb95 (patch) | |
tree | 03fbf586ca7002b6ade6853bf39f4eed5f993e3b /incoming/post-local/.99-tba-ls | |
parent | 22ba41cd971f9de95f4242f8fea960d2085cddf8 (diff) |
Added tba-ls
Diffstat (limited to 'incoming/post-local/.99-tba-ls')
-rwxr-xr-x | incoming/post-local/.99-tba-ls | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/incoming/post-local/.99-tba-ls b/incoming/post-local/.99-tba-ls new file mode 100755 index 0000000..bd181f8 --- /dev/null +++ b/incoming/post-local/.99-tba-ls @@ -0,0 +1,10 @@ +#!/bin/bash + +echo "Ye find yeself in yon $(pwd)." +echo +echo "Ye see:" +find -L . -maxdepth 1 \! -iname '.*' -type f | sed 's,^./, ,' +echo +echo "Obvious exits are:" +echo " .." +find -L . -maxdepth 1 \! -iname '.*' -type d | sed 's,^./, ,' |