#!/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 {} +