$ find2perl /some/dir -atime +14 -eval unlink >MyProggy $ chmod +x MyProggy $ ./MyProggy # as you wish