#!/bin/sh
#   Ifind [dir] inode-numbers
#
# This does a search starting a dir (or . if omitted), for files with the
# listed inode-number[s], and produces a "ls -lidg" listing of each.

F=/usr/bin/find
if [ -d "$1" ]
then D=$1; shift
else D='.'
fi

for I do
	$F $D -inum $I -exec ls -lidg {} ';'
done
