I'm trying to use the following command to find any of the following files ending in '.file'.
$sethost just refers to a variable containing a host name that will be ssh'd to.
-----
$gziplogs = `$sethost "find /var/log/tmp/ -iname '*.file' -type f -exec ls -hl \{\} \;"`;
-----
When I run in I keep getting:
find: missing argument to `-exec'
Any assistance would be greatly appreciated!