in reply to Comparing localtime to a remote file's modification time.
Unless you enjoy puzzling out the different levels of quoting it's easiest to put the complex command you want run on the remote side in a shell script and then use ssh to invoke that instead of trying to figure out which of the layers of shell your command is passing through is going to eat what quotes.
|
|---|