Mercurial > hg > cc > cirrus_home
view bin/ff @ 100:f7623dbd8eb5
bare minimum working
| author | Henry S. Thompson <ht@inf.ed.ac.uk> |
|---|---|
| date | Sun, 18 Apr 2021 17:03:45 +0000 |
| parents | ecdbaa11b88e |
| children |
line wrap: on
line source
#!/bin/sh # find any match from here if [ "$1" = "-y" ] then shift yy= else yy="-not ( -path ./Yesterday -prune )" fi ff=$1 shift find . $yy \( \( -iname \*$ff\* \) -o \( -iname .\*$ff\* \) \) "$@" -print
