Files
Skins/rsync.sh
Schoki 88b2af3bcf
Some checks failed
Generate Skin previews, OSK files and per skin documentation / Full CI/CD Pipeline (push) Failing after 1m21s
Adding skin for good
2025-11-22 23:05:24 +01:00

12 lines
366 B
Bash
Executable File

#!/usr/bin/env bash
SOURCE="/home/schoki/Documents/osu!/playing/Skins/"
TARGET="/home/schoki/Documents/osu!/Skins/Skins/"
# Sync skins from osu! to your repo
rsync -av --delete "$SOURCE" "$TARGET"
# Normalize file permissions (Linux CI needs this)
find "$TARGET" -type f ! -perm 644 -exec chmod 644 {} +
find "$TARGET" -type d ! -perm 755 -exec chmod 755 {} +