From ef7c1605a027b52bbff1b01ea693b60f53fa3a71 Mon Sep 17 00:00:00 2001 From: yuzu-eva Date: Thu, 8 May 2025 14:01:37 +0200 Subject: initial commit --- buhome | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100755 buhome (limited to 'buhome') diff --git a/buhome b/buhome new file mode 100755 index 0000000..41d672b --- /dev/null +++ b/buhome @@ -0,0 +1,36 @@ +#!/usr/bin/env bash + +backup_file=$(date +%F)-home.tar.gz +target_dir="/media/hdd/backups/" + +tar -zcf $backup_file -C "$HOME" \ + dev \ + dl \ + docs \ + GDStash \ + pics \ + vids \ + .backup \ + .config \ + .gitconfig \ + .gnupg \ + .local/bin \ + .local/share/citra-emu \ + .local/share/DB \ + .local/share/dolphin-emu \ + .local/share/icons \ + .local/share/jellyfin \ + .local/share/qBittorrent \ + .local/share/yuzu \ + .local/src \ + .mozilla \ + .npmrc \ + .ssh \ + .urxvt \ + .vim \ + .vm \ + .wg + +rsync -aviP --remove-source-files $backup_file $target_dir + +ls -ahl $target_dir -- cgit v1.2.3