view bin/ff @ 190:f2bf736c2d40

working, with issues: 1) warc.export.cdx.path is not set 2) mime property isn't getting through 3) lastMod isn't showing up
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Tue, 24 Sep 2024 17:08:05 +0100
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