echoifexists is a utility that echoes the value of <a> if <file> exists, echoes the value of <b> otherwise.
<a>
<file>
<b>
Usage: ops -echoifexists <file> <a> <b>
ops -echoifexists "exists" "doesn't exists"