This repository has been archived on 2024-03-04. You can view files and clone it, but cannot push or open issues or pull requests.
linux/.config/bash/module/find.sh

8 lines
167 B
Bash

# Find all file types recursively.
find_types()
{
local types=($(find -type f | sed "s/.*\.//"))
echo "${types[@]}" | tr ' ' '\n' | sort -u | tr '\n' ' '
echo
}