Files
.dotfiles/.local/bin/lsext
2024-06-28 17:22:47 +10:00

7 lines
134 B
Bash
Executable File

#!/usr/bin/env bash
CWD=$1
if [ $# -eq 0 ]; then
CWD=$PWD
fi
find $CWD -type f | perl -ne 'print $1 if m/\.([^.\/]+)$/' | sort -u