up snaps and variables

This commit is contained in:
Tykayn 2024-12-21 22:48:59 +01:00 committed by tykayn
parent 8f74d12ea4
commit f34a7c18f2
2 changed files with 5 additions and 7 deletions

View file

@ -84,7 +84,7 @@ if [ -z ${load_only_once+x} ]; then
# --------- gestion des exclusions de rsync -------- #
EXCLUDE=( ".yarn" ".nvm" "cache" ".cache" "Cache" "Steam" "steamapps" ".npm" ".yarn" "node_modules" ".mozilla" "vendor" "Steam" ".rbenv" ".config/borg" "@eaDir" "steamapps" "bower_components" ".cargo" ".gem" ".BOINC")
EXCLUDE=( ".yarn" ".nvm" "cache" ".cache" "Cache" "Steam" "steamapps" ".npm" ".yarn" "node_modules" ".mozilla" "vendor" "Steam" ".rbenv" ".config/borg" "@eaDir" "steamapps" "bower_components" ".cargo" ".gem" ".BOINC" "*.pto")
exclude_opts=()
for item in "${EXCLUDE[@]}"; do
exclude_opts+=( --exclude "$item" )