diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2024-10-25 02:32:46 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2024-10-25 02:32:46 +0200 |
| commit | 94e841dfc46324bc8d15db52b7c6f3fab51438f3 (patch) | |
| tree | 5d8194fcf1b62b83c72ea82e66c41895288c0fce | |
| parent | 4794211c130e51ef1fae4e59cfaa4aee962ad479 (diff) | |
| download | dotfiles-94e841dfc46324bc8d15db52b7c6f3fab51438f3.tar.gz | |
Adde human readable flag to rsync
| -rwxr-xr-x | shenanigans.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/shenanigans.sh b/shenanigans.sh index 00a5c53..5af5fdf 100755 --- a/shenanigans.sh +++ b/shenanigans.sh | |||
| @@ -73,13 +73,13 @@ backup() { | |||
| 73 | cd $VHOME/dotfiles | 73 | cd $VHOME/dotfiles |
| 74 | 74 | ||
| 75 | # Make a copy of certain files. | 75 | # Make a copy of certain files. |
| 76 | rsync -azv /home/$USER/.bash_history_infinite bash_history_infinite | 76 | rsync -azhv /home/$USER/.bash_history_infinite bash_history_infinite |
| 77 | rsync -azv /home/$USER/.ssh/ ssh | 77 | rsync -azhv /home/$USER/.ssh/ ssh |
| 78 | rsync -azv /home/$USER/.aws/ aws | 78 | rsync -azhv /home/$USER/.aws/ aws |
| 79 | rsync -azv /home/$USER/.gnupg/ gnupg/ | 79 | rsync -azhv /home/$USER/.gnupg/ gnupg/ |
| 80 | 80 | ||
| 81 | # Sync with NAS. | 81 | # Sync with NAS. |
| 82 | rsync -azvpog \ | 82 | rsync -azhvpog \ |
| 83 | --exclude '.venv/' \ | 83 | --exclude '.venv/' \ |
| 84 | --exclude '.git/' \ | 84 | --exclude '.git/' \ |
| 85 | --exclude '.import/' \ | 85 | --exclude '.import/' \ |
