Browse Source

added --exclude for icons and stuff in dotfile provisioning

Marius Schwarz 1 year ago
parent
commit
633d8732d3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      install.sh

+ 1 - 1
install.sh

@@ -33,7 +33,7 @@ read yesno
 
 if [[ "$yesno" == "y" ]]; then
     backup_dir=/tmp/dotfiles-backup-$(date "+%H%M%S")
-    rsync --backup --backup-dir $backup_dir --exclude profiles --exclude .git/ --exclude install.sh --exclude setup_kali.sh -r . $HOME
+    rsync --backup --backup-dir $backup_dir --exclude profiles --exclude .git/ --exclude install.sh --exclude setup_kali.sh --exclude usr/ -r . $HOME
     echo "[+] Dotfiles installed :) Backup available @ $backup_dir"
 fi