14 lines
262 B
Bash
Executable File
14 lines
262 B
Bash
Executable File
#!/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
|
|
|