summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/backup-home.sh88
-rwxr-xr-xscripts/build-toolchain.sh2
2 files changed, 89 insertions, 1 deletions
diff --git a/scripts/backup-home.sh b/scripts/backup-home.sh
new file mode 100755
index 0000000..45d5f8f
--- /dev/null
+++ b/scripts/backup-home.sh
@@ -0,0 +1,88 @@
+#!/bin/bash
+
+SOURCE="$HOME"
+TARGET="/iron-wolf/fedora-home"
+
+# Desktop maybe
+# repositories maybe
+# data maybe
+# .zen maybe
+
+rsync -a --delete --info=progress2 \
+ --exclude='.config/vesktop/sessionData/Cache/' \
+ --exclude='.config/vesktop/sessionData/Code Cache/' \
+ --exclude='.config/vesktop/sessionData/GPUCache/' \
+ --exclude='.config/r2modman/Cache/' \
+ --include='.config/***' \
+ --include='.gnupg/***' \
+ --include='.icons/***' \
+ --include='.local/' \
+ --include='.local/share/' \
+ --include='.local/state/' \
+ --include='.local/share/color-schemes/***' \
+ --include='.local/share/containers/' \
+ --include='.local/share/containers/storage/' \
+ --include='.local/share/containers/storage/volumes/' \
+ --include='.local/share/containers/storage/volumes/local-ai_open-webui/' \
+ --exclude='.local/share/containers/storage/volumes/local-ai_open-webui/_data/cache/' \
+ --include='.local/share/containers/storage/volumes/local-ai_open-webui/***' \
+ --include='.local/share/eden/nand/user/save/***' \
+ --include='.local/share/fonts/***' \
+ --include='.local/share/imhex/***' \
+ --include='.local/share/jellyfin/***' \
+ --include='.local/share/k/***' \
+ --include='.local/share/mime/***' \
+ --include='.local/share/nvim/***' \
+ --include='.local/share/osu/***' \
+ --exclude='.local/share/PrismLauncher/cache/' \
+ --include='.local/share/PrismLauncher/***' \
+ --include='.local/share/StardewValley/***' \
+ --exclude='.local/share/vicinae/clipboard-data/' \
+ --exclude='.local/share/vicinae/file-indexer.db' \
+ --include='.local/share/vicinae/***' \
+ --include='.local/share/wallpapers/***' \
+ --include='.local/share/zed/***' \
+ --include='.local/share/zinit/***' \
+ --include='.local/share/zoxide/***' \
+ --include='.local/state/nvim/***' \
+ --include='.nnd/***' \
+ --include='.ssh/***' \
+ --include='.var/' \
+ --include='.var/app/' \
+ --include='.var/app/com.hypixel.HytaleLauncher/' \
+ --include='.var/app/com.hypixel.HytaleLauncher/data/' \
+ --include='.var/app/com.hypixel.HytaleLauncher/data/Hytale/' \
+ --include='.var/app/com.hypixel.HytaleLauncher/data/Hytale/UserData/' \
+ --include='.var/app/com.hypixel.HytaleLauncher/data/Hytale/UserData/Saves/***' \
+ --include='.var/app/org.jellyfin.JellyfinDesktop/***' \
+ --include='.var/app/com.actualbudget.actual/***' \
+ --include='.var/app/it.mijorus.gearlever/***' \
+ --include='.var/app/io.github.diegopvlk.Cine/***' \
+ --include='.var/app/com.vysp3r.ProtonPlus/***' \
+ --include='.var/app/com.infinipaint.infinipaint/***' \
+ --include='.wakatime/***' \
+ --include='Ark-Vcs/***' \
+ --include='Design/***' \
+ --include='Games/' \
+ --include='Games/Heroic/' \
+ --include='Games/Heroic/Prefixes/' \
+ --include='Games/Heroic/Prefixes/Slime Rancher/' \
+ --include='Games/Heroic/Prefixes/Slime Rancher/drive_c/' \
+ --include='Games/Heroic/Prefixes/Slime Rancher/drive_c/users/' \
+ --include='Games/Heroic/Prefixes/Slime Rancher/drive_c/users/kyren/' \
+ --include='Games/Heroic/Prefixes/Slime Rancher/drive_c/users/kyren/AppData/' \
+ --include='Games/Heroic/Prefixes/Slime Rancher/drive_c/users/kyren/AppData/LocalLow/' \
+ --include='Games/Heroic/Prefixes/Slime Rancher/drive_c/users/kyren/AppData/LocalLow/Monomi Park/' \
+ --include='Games/Heroic/Prefixes/Slime Rancher/drive_c/users/kyren/AppData/LocalLow/Monomi Park/Slime Rancher/***' \
+ --include='Games/minecraft-dungeons/' \
+ --include='Games/minecraft-dungeons/drive_c/' \
+ --include='Games/minecraft-dungeons/drive_c/users/' \
+ --include='Games/minecraft-dungeons/drive_c/users/steamuser/' \
+ --include='Games/minecraft-dungeons/drive_c/users/steamuser/Saved Games/' \
+ --include='Games/minecraft-dungeons/drive_c/users/steamuser/Saved Games/Mojang Studios/' \
+ --include='Games/minecraft-dungeons/drive_c/users/steamuser/Saved Games/Mojang Studios/Dungeons/***' \
+ --exclude='personal/grimoire/' \
+ --include='personal/***' \
+ --include='.wakatime.cfg' \
+ --include='.zsh_history' \
+ --exclude='*' "$SOURCE"/ "$TARGET"/
diff --git a/scripts/build-toolchain.sh b/scripts/build-toolchain.sh
index c879a8c..ade80ee 100755
--- a/scripts/build-toolchain.sh
+++ b/scripts/build-toolchain.sh
@@ -7,7 +7,7 @@ export TARGET="x86_64-elf"
export PATH="$PREFIX/bin:$PATH"
BINUTILS_VER="2.45.1"
GCC_VER="15.3.0"
-BUILD_DIR="$HOME/cross-build"
+BUILD_DIR="$HOME/Desktop/cross-build"
mkdir -p "$BUILD_DIR" "$PREFIX"
cd "$BUILD_DIR"
echo "==> Downloading sources..."