#!/bin/bash

STARTDIR=$PWD
if [ $# == 1 ] ; then
	if [ -e $1 ] ; then 
		STARTDIR=$1
	else
		echo "File directory specified does not exist. Exiting."
		exit 1
	fi
fi
STARTDIR+="/*"
find -O1 $STARTDIR -type f -exec stat -c %s {} \;
