def _get_summary(rsync_out):
    '''
    Get summary from the rsync successful output.
    '''

    return "- " + "\n- ".join([elm for elm in rsync_out.split("\n\n")[-1].replace("  ", "\n").split("\n") if elm])