From a2adb70c90e47f2d59139285bd37590833eb00ea Mon Sep 17 00:00:00 2001 From: GARDAIS Jeremy Date: Tue, 15 May 2018 14:09:00 +0200 Subject: [PATCH] Ensure to ignore all cache directories --- install_backuppc_mac.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install_backuppc_mac.sh b/install_backuppc_mac.sh index 65b470b..e574fc7 100755 --- a/install_backuppc_mac.sh +++ b/install_backuppc_mac.sh @@ -283,7 +283,7 @@ fi [[ "${DEBUG}" == "0" ]] && printf '\e[1;35m%-6s\e[m\n' "DEBUG : Partie - Création du fichier de configuration" fqdn="$(MyFqdn)" filepl="${fqdn}.pl" -exclude="['ownCloud','.local/share/Trash','.cache','.Play*','.steam','.wine','Perso','temp','tmp','.Trash*','.DS_Store','._*', '.thumbnails','.ssh/id_*','.xsession-*']" +exclude="['ownCloud','.local/share/Trash','.cache','Caches','.Play*','.steam','.wine','Perso','temp','tmp','.Trash*','.DS_Store','._*', '.thumbnails','.ssh/id_*','.xsession-*']" echo "\$Conf{XferMethod} = 'rsync';" > "${filepl}" echo "\$Conf{RsyncShareName} = [${directories}];" >> "${filepl}" echo "\$Conf{BackupFilesExclude} = {'*' => ${exclude} };" >> "${filepl}"