#!/bin/sh
# finda [args]...
#
# This is like find, but adds "ls -lid" to the  args  and  pipes  the
# output  through  align  to  make  the  output prettier.  Due to the
# vagaries of the ls command, you may need  to  adjust  the  args  to
# align on other machines.

if [ $# -lt 1 ];then set '.'; fi
if [ -d "$1" ];then 
	d=$1
	shift
else	d=.
fi
for	p
do	find $d $* -exec ls -lid {} \; |sed -e 's/    / /g' | align r6 l r l l r8 l r r
done 
