diff options
| author | yuzu-eva <cafebabe@disroot.org> | 2025-05-08 14:01:37 +0200 |
|---|---|---|
| committer | yuzu-eva <cafebabe@disroot.org> | 2025-05-08 14:01:37 +0200 |
| commit | ef7c1605a027b52bbff1b01ea693b60f53fa3a71 (patch) | |
| tree | 1089334258aefbd459d18cf6968e78f1194739b0 /buhome | |
initial commit
Diffstat (limited to 'buhome')
| -rwxr-xr-x | buhome | 36 |
1 files changed, 36 insertions, 0 deletions
@@ -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 |
