def move_media(origin_server, file_id, src_paths, dest_paths):
    'Move the given file, and any thumbnails, to the dest repo\n\n    Args:\n        origin_server (str):\n        file_id (str):\n        src_paths (MediaFilePaths):\n        dest_paths (MediaFilePaths):\n    '
    logger.info('%s/%s', origin_server, file_id)
    original_file = src_paths.remote_media_filepath(origin_server, file_id)
    if (not os.path.exists(original_file)):
        logger.warn('Original for %s/%s (%s) does not exist', origin_server, file_id, original_file)
    else:
        mkdir_and_move(original_file, dest_paths.remote_media_filepath(origin_server, file_id))
    original_thumb_dir = src_paths.remote_media_thumbnail_dir(origin_server, file_id)
    if (not os.path.exists(original_thumb_dir)):
        return
    mkdir_and_move(original_thumb_dir, dest_paths.remote_media_thumbnail_dir(origin_server, file_id))
Move the given file, and any thumbnails, to the dest repo

Args:
    origin_server (str):
    file_id (str):
    src_paths (MediaFilePaths):
    dest_paths (MediaFilePaths):
def move_media(origin_server, file_id, src_paths, dest_paths):
    'Move the given file, and any thumbnails, to the dest repo\n\n    Args:\n        origin_server (str):\n        file_id (str):\n        src_paths (MediaFilePaths):\n        dest_paths (MediaFilePaths):\n    '
    logger.info('%s/%s', origin_server, file_id)
    original_file = src_paths.remote_media_filepath(origin_server, file_id)
    if (not os.path.exists(original_file)):
        logger.warn('Original for %s/%s (%s) does not exist', origin_server, file_id, original_file)
    else:
        mkdir_and_move(original_file, dest_paths.remote_media_filepath(origin_server, file_id))
    original_thumb_dir = src_paths.remote_media_thumbnail_dir(origin_server, file_id)
    if (not os.path.exists(original_thumb_dir)):
        return
    mkdir_and_move(original_thumb_dir, dest_paths.remote_media_thumbnail_dir(origin_server, file_id))