I'm in need of some help, I need to replace text on a page using SED command with other text but it just will not work for me.
Need to replace this one:
<key>disableMailRecentsSyncing</key>
<true />
<key>allowMailDrop</key>
<false />
<key>PreventMove</key>
<true />
With this one:
<key>disableMailRecentsSyncing</key>
<false />
<key>allowMailDrop</key>
<true />
<key>PreventMove</key>
<false />
I've tried the following but it will not work:
sed -i 's/<key>disableMailRecentsSyncing</key> <true /> <key>allowMailDrop</key> <false /> <key>PreventMove</key> <true />/<key>disableMailRecentsSyncing</key> <false /> <key>allowMailDrop</key> <true /> <key>PreventMove</key> <false />/g' input.txt