Commit 5ea74ba4 authored by Michael Terry's avatar Michael Terry

Exclude flatpak app cache dirs

parent 79fbbedd
Pipeline #49810 failed with stage
in 9 minutes and 14 seconds
......@@ -33,6 +33,7 @@
<item><p><file>~/.recently-used.xbel</file></p></item>
<item><p><file>~/.steam/root</file> <span its:translate="yes">(which by default also ignores <file its:translate="no">~/.local/share/Steam</file>)</span></p></item>
<item><p><file>~/.thumbnails</file></p></item>
<item><p><file>~/.var/app/*/cache</file></p></item>
<item><p><file>~/.xsession-errors</file></p></item>
<item><p><file>~/snap/*/*/.cache</file></p></item>
<item><p><file>/proc</file></p></item>
......
......@@ -109,6 +109,7 @@ public class OperationBackup : Operation
files.prepend(File.new_for_path(Path.build_filename(dir, ".steam/root")));
files.prepend(File.new_for_path(Path.build_filename(dir, ".thumbnails")));
files.prepend(File.new_for_path(Path.build_filename(dir, ".xsession-errors")));
regexps.prepend(Path.build_filename(dir, ".var/app/*/cache")); // flatpak
regexps.prepend(Path.build_filename(dir, "snap/*/*/.cache"));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment