diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2024-11-27 05:40:07 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2024-11-27 05:40:07 +0100 |
| commit | 44dee7bfffe482f1bfb71991ae2209bd25dcca43 (patch) | |
| tree | be162b8ec8afa70dfc995af38f15a9eea8ab04ff /.shenanigans.sh | |
| parent | e95ff012dcad3f19babe75152b0680abd2b3d3a3 (diff) | |
| download | dotfiles-44dee7bfffe482f1bfb71991ae2209bd25dcca43.tar.gz | |
Update
Diffstat (limited to '.shenanigans.sh')
| -rwxr-xr-x | .shenanigans.sh | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/.shenanigans.sh b/.shenanigans.sh index aa26e23..4d28c45 100755 --- a/.shenanigans.sh +++ b/.shenanigans.sh | |||
| @@ -72,15 +72,19 @@ backup() { | |||
| 72 | VHOME=/home/$USER/Vault | 72 | VHOME=/home/$USER/Vault |
| 73 | ME=$(whoami)@$(hostname) | 73 | ME=$(whoami)@$(hostname) |
| 74 | 74 | ||
| 75 | mkdir -p $VHOME/dotfiles | 75 | # Everything dotfiles. |
| 76 | cd $VHOME/dotfiles | 76 | cd $VHOME && mkdir -p $VHOME/dotfiles && cd $VHOME/dotfiles |
| 77 | |||
| 78 | # Make a copy of certain files. | ||
| 79 | rsync -azhv /home/$USER/.bash_history_infinite bash_history_infinite | 77 | rsync -azhv /home/$USER/.bash_history_infinite bash_history_infinite |
| 80 | rsync -azhv /home/$USER/.ssh/ ssh | 78 | rsync -azhv /home/$USER/.ssh/ ssh |
| 81 | rsync -azhv /home/$USER/.aws/ aws | 79 | rsync -azhv /home/$USER/.aws/ aws |
| 82 | rsync -azhv /home/$USER/.gnupg/ gnupg/ | 80 | rsync -azhv /home/$USER/.gnupg/ gnupg/ |
| 83 | 81 | ||
| 82 | # WoW settings and addons. | ||
| 83 | cd $VHOME && mkdir -p $VHOME/twow && cd $VHOME/twow | ||
| 84 | rsync -azhv /home/$USER/Games/turtlewow/Interface . | ||
| 85 | rsync -azhv /home/$USER/Games/turtlewow/WTF . | ||
| 86 | rsync -azhv /home/$USER/Games/turtlewow/start.sh . | ||
| 87 | |||
| 84 | # Sync with NAS. | 88 | # Sync with NAS. |
| 85 | rsync -azhvpog \ | 89 | rsync -azhvpog \ |
| 86 | --exclude '.venv/' \ | 90 | --exclude '.venv/' \ |
