def put(local_path, remote_path, mode=None, **kwargs):
    require('hosts')
    if 'localhost' in env.hosts:
        if (os.path.isdir(remote_path) and
                (os.path.join(remote_path, os.path.basename(local_path)))
                == local_path):
            return 0
        result = local('cp -R %s %s' % (local_path, remote_path))
        if mode:
            local('chmod -R %o %s' % (mode, remote_path))
        return result
    else:
        return fabric_put(local_path, remote_path, mode, **kwargs)
List all the available tags.
dataset/ETHPy150Open bueda/ops/buedafab/operations.py/put--crossover with--dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/cloudsigma.py/CloudSigma_2_0_NodeDriver.ex_list_tags