Ensure to ignore all cache directories
This commit is contained in:
parent
285aa8d6f0
commit
a2adb70c90
|
@ -283,7 +283,7 @@ fi
|
||||||
[[ "${DEBUG}" == "0" ]] && printf '\e[1;35m%-6s\e[m\n' "DEBUG : Partie - Création du fichier de configuration"
|
[[ "${DEBUG}" == "0" ]] && printf '\e[1;35m%-6s\e[m\n' "DEBUG : Partie - Création du fichier de configuration"
|
||||||
fqdn="$(MyFqdn)"
|
fqdn="$(MyFqdn)"
|
||||||
filepl="${fqdn}.pl"
|
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{XferMethod} = 'rsync';" > "${filepl}"
|
||||||
echo "\$Conf{RsyncShareName} = [${directories}];" >> "${filepl}"
|
echo "\$Conf{RsyncShareName} = [${directories}];" >> "${filepl}"
|
||||||
echo "\$Conf{BackupFilesExclude} = {'*' => ${exclude} };" >> "${filepl}"
|
echo "\$Conf{BackupFilesExclude} = {'*' => ${exclude} };" >> "${filepl}"
|
||||||
|
|
Loading…
Reference in New Issue