Adds import script and uses a shared list of the files to copy.

This commit is contained in:
2026-09-03 13:19:17 -07:00
parent 636128e2f1
commit c4b1af44b9
3 changed files with 44 additions and 7 deletions

13
import.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/usr/bin/env bash
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "$SCRIPT_DIR/files.sh"
cd "$SCRIPT_DIR" || exit 1
for file in "${FILES[@]}"; do
if [ -e "../$file" ] || [ -L "../$file" ]; then
cp -r "../$file" ./
fi
done