You don't need to quote the command argument to ssh(1). Using xargs(1) as you should makes this trivial.
$ ssh $remote find $base_dir -mtime +$days -print0 \| xargs -0 ls -l
Makeshifts last the longest.
In reply to Re: Run system find -exec on remote machine
by Aristotle
in thread Run system find -exec on remote machine
by gaal
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |