From 8f895d043c02ca40792352023916baa977f827ff Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Tue, 3 Dec 2013 19:33:40 -0500 Subject: [PATCH] nice changes to make snarf_user able to get kde and gnome config without gacking on huge dirs. some other apps store large chunks in either .kde or .local though, and i am sure i did not exclude them all (mainly dropped what i saw active in current ubuntu). --- scripts/archival/shared_snarfer.pl | 3 ++- scripts/archival/snarf_user.pl | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/archival/shared_snarfer.pl b/scripts/archival/shared_snarfer.pl index 76898627..4747d07e 100644 --- a/scripts/archival/shared_snarfer.pl +++ b/scripts/archival/shared_snarfer.pl @@ -44,9 +44,10 @@ $TMP =~ s/\\/\//g; # fix the temp variable for ms-winders. "octalforty.Wizardby", "*.obr", "*.opt", "packages", "*.pch", "*.pdb", "*.plg", "*.r$p", "*.rcs", "Release", "*.res", "*.RES", "*.rws", "*.sbr", "*.scc", "*.spx", "*.stackdump", + "Steam", "*.sdf", "*.suo", ".svn", "*.sym", "*.td", "*.tds", "*.tdw", "*.tlb", "*.trw", "*.tmp", "*.tr", "*.user", "*_version.h", "*_version.rc", - "*.vspscc", "waste"); + "*.vspscc", "waste", "zeitgeist"); #print "junk list=@junk_file_list\n"; @excludes = (); for (local($i) = 0; $i < scalar(@junk_file_list); $i++) { diff --git a/scripts/archival/snarf_user.pl b/scripts/archival/snarf_user.pl index 27991eca..4874e072 100644 --- a/scripts/archival/snarf_user.pl +++ b/scripts/archival/snarf_user.pl @@ -39,6 +39,8 @@ local($snarf_file) = &snarf_name($snarf_file_base, $number); # backup all the config info for kde. &backup_hierarchy($snarf_file_base, $number, "$root", ".kde"); +# and get the config for gnome. +&backup_hierarchy($snarf_file_base, $number, "$root", ".local"); # get any dot files ending in "rc", or with "bash" or "profile" in them, or # that start with "x". -- 2.34.1