Thank you ever so much!
It works really well!
> That would need {...} around the echo and return. Pehaps better would be [
> -s "$1" ] || { echo "No file found/File not found"; return 1; }
> -s : checks for file existing and containing something
> { ...; ...; } semicolons are needed inside curly braces
> For even more verbosity try a line like
> echo -n "$size " or printf "%d " "$size" just before the oldsize=$size line
> (note the space inside the quotes).
>
>
> --
> Chris Elvidge
> England