Changed sync not to use -b which has other semantics.