#!/bin/sh 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