'A better copy command that works from the webs.
Respects the ``MULTIPLE_APP_SERVERS`` setting when copying.'

@classmethod
def copy(cls, path, target, host, is_file=False, **__):

    sync_user = getattr(settings, 'SYNC_USER', getpass.getuser())
    if (not is_file):
        path += '/'
    log.info('Remote    Pull    %s    to    %s', path, target)
    if ((not is_file) and (not os.path.exists(target))):
        safe_makedirs(target)
    sync_cmd = "rsync    -e    'ssh    -T'    -av    --delete    {user}@{host}:{path}    {target}".format(host=host, path=path, user=sync_user, target=target)
    ret = os.system(sync_cmd)
    if (ret != 0):
        log.info('COPY    ERROR    to    app    servers.')
