Files
oak-editor/docker/scripts/common/copy_new_files.sh
T
2026-01-16 21:22:05 +08:00

17 lines
415 B
Bash

#!/usr/bin/env bash
# Copyright (c) Contributors to the aswf-docker Project. All rights reserved.
# Modifications Copyright (C) 2025 mikesolar
# SPDX-License-Identifier: Apache-2.0
set -ex
mkdir -p /package
cd "${OLIVE_INSTALL_PREFIX}"
find . -type l -o -type f | cut -c3- > /tmp/new-prefix-files.txt
rsync -av --files-from=/tmp/new-prefix-files.txt --exclude-from=/tmp/previous-prefix-files.txt . /package/