diff --git a/.shenanigans.sh b/.shenanigans.sh index df1cd139e3ded0f85cf2e87046554befa89bdc1b..f57e458107dae212104d8b2b17eb4c6a2b5923f3 100755 --- a/.shenanigans.sh +++ b/.shenanigans.sh @@ -60,16 +60,16 @@ SNAPSHOT=$(date +%Y-%m-%d)-$(whoami)@$(hostname) mkdir -p /tmp/$SNAPSHOT archive_sets=( - "ssh.zip /home/$USER/.ssh" - "bash_history_infinite.zip /home/$USER/.bash_history_infinite" - "projects.zip /home/$USER/Projects" - "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" + "ssh.zip $HOME/.ssh" + "bash_history_infinite.zip $HOME/.bash_history_infinite" + "projects.zip $HOME/Projects" + "twow.zip $HOME/Games/turtlewow/WTF $HOME/Games/turtlewow/SuperWoWhook.dll $HOME/Games/turtlewow/dlls.txt $HOME/Games/turtlewow/wow.sh" ) for entry in "${archive_sets[@]}"; do zip -r /tmp/$SNAPSHOT/${entry} -x "**/.venv/*" "**/.git/*" "**/.import/*" "**/.godot/*" "**/.zig-cache/*" "**/node_modules/*" done - rsync -azhvpog /tmp/$SNAPSHOT /media/Void/Backup + rsync -azhv /tmp/$SNAPSHOT /media/Void/Backup rm -Rf /tmp/$SNAPSHOT }