view bin/ff @ 118:551ff1de13d8

qpdf needs LD_LIB_PATH
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Wed, 16 Jun 2021 16:12:16 +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