dotfiles
Seven years worth of accumulated configuration cruft
dotfiles/scripts/.local/bin/sf
Download raw file: scripts/.local/bin/sf
#!/bin/sh
# Search my files
[ "$#" -eq 2 ] || {
printf "Search file names; Usage: sf [path] [regex]\n" 2>&1
exit 1
}
find "$(realpath "$1")" -name "*" | grep -i "$2"