risolto ho sostituito " con ' nell'echo ora procedo a testare lo script.