Update
| Author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2025-07-02 18:12:12 +0200 |
| Committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2025-07-02 18:12:12 +0200 |
| Commit | 9ce8228dce1a78ebd27e78efeaca5f4dbc80d1db (patch) |
|
-rwxr-xr-x |
.shenanigans.sh | 10 |
1 files changed, 5 insertions, 5 deletions
| diff --git a/.shenanigans.sh b/.shenanigans.sh | |||
| ... | |||
| 60 | mkdir -p /tmp/$SNAPSHOT |
60 | mkdir -p /tmp/$SNAPSHOT |
| 61 | 61 | ||
| 62 | archive_sets=( |
62 | archive_sets=( |
| 63 | "ssh.zip /home/$USER/.ssh" |
63 | "ssh.zip $HOME/.ssh" |
| 64 | "bash_history_infinite.zip /home/$USER/.bash_history_infinite" |
64 | "bash_history_infinite.zip $HOME/.bash_history_infinite" |
| 65 | "projects.zip /home/$USER/Projects" |
65 | "projects.zip $HOME/Projects" |
| 66 | "twow.zip /home/$USER/Games/turtlewow/WTF /home/$USER/Games/turtlewow/SuperWoWhook.dll /home/$USER/Games/turtlewow/dlls.txt /home/$USER/Games/turtlewow/start.sh" |
66 | "twow.zip $HOME/Games/turtlewow/WTF $HOME/Games/turtlewow/SuperWoWhook.dll $HOME/Games/turtlewow/dlls.txt $HOME/Games/turtlewow/wow.sh" |
| 67 | ) |
67 | ) |
| 68 | 68 | ||
| 69 | for entry in "${archive_sets[@]}"; do |
69 | for entry in "${archive_sets[@]}"; do |
| 70 | zip -r /tmp/$SNAPSHOT/${entry} -x "**/.venv/*" "**/.git/*" "**/.import/*" "**/.godot/*" "**/.zig-cache/*" "**/node_modules/*" |
70 | zip -r /tmp/$SNAPSHOT/${entry} -x "**/.venv/*" "**/.git/*" "**/.import/*" "**/.godot/*" "**/.zig-cache/*" "**/node_modules/*" |
| 71 | done |
71 | done |
| 72 | 72 | ||
| 73 | rsync -azhvpog /tmp/$SNAPSHOT /media/Void/Backup |
73 | rsync -azhv /tmp/$SNAPSHOT /media/Void/Backup |
| 74 | rm -Rf /tmp/$SNAPSHOT |
74 | rm -Rf /tmp/$SNAPSHOT |
| 75 | } |
75 | } |