From 529b44242d3ed35e7b9cc1868916e5d377772f2e Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Mon, 2 Jan 2017 00:19:58 -0500 Subject: [PATCH] took cloud out of note snarfer --- scripts/archival/snarf_notes.pl | 5 +++-- scripts/cleaning_progress.txt | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/archival/snarf_notes.pl b/scripts/archival/snarf_notes.pl index cf526862..e41c2e85 100644 --- a/scripts/archival/snarf_notes.pl +++ b/scripts/archival/snarf_notes.pl @@ -38,10 +38,10 @@ local($snarf_file) = &snarf_name($snarf_file_base, $number); ############################################################################ # get top level text files and other potentially important items... -&backup_files($snarf_file_base, $number, $root, ".", ("*.html", "*.txt")); +&backup_files($snarf_file_base, $number, $root, ".", ("*.html", "*.txt", "makefile*")); # gather any directories in our home that match these often recurring patterns. -&snarf_by_pattern($snarf_file_base, "$root", "cloud"); +#retired since this is a repo now: &snarf_by_pattern($snarf_file_base, "$root", "cloud"); &snarf_by_pattern($snarf_file_base, "$root", "crucial"); &snarf_by_pattern($snarf_file_base, "$root", "idea"); &snarf_by_pattern($snarf_file_base, "$root", "issue"); @@ -49,6 +49,7 @@ local($snarf_file) = &snarf_name($snarf_file_base, $number); &snarf_by_pattern($snarf_file_base, "$root", "note"); &snarf_by_pattern($snarf_file_base, "$root", "project"); &snarf_by_pattern($snarf_file_base, "$root", "task"); +&snarf_by_pattern($snarf_file_base, "$root", "invention"); ############################################################################ diff --git a/scripts/cleaning_progress.txt b/scripts/cleaning_progress.txt index b1f3748e..9ef3e872 100644 --- a/scripts/cleaning_progress.txt +++ b/scripts/cleaning_progress.txt @@ -5,4 +5,5 @@ archival 2017-01-01 okay with backup arb, fixed backup_trac, found pack_feisty used in www-data cron job (copied for new cron config script), listarch considered one of newer gen of good scripts (but still could probably use refactoring; it's just that it works well already), okay with search_arch, serene backer upper (filesynch / transporter kind of blow right now, but we have lots of notes for them), shared snarfer is a good lib used by many snarfers, okay with snarf_feisty_meow (retested good), snarf_linux_config which is used constantly, snarf_notes -- surprisingly useful as it grabbed the local note (*.txt) files i don't usually grab, but it also did grab the cloud, which is a backed up repository style asset; seems a little silly to keep it in notes still, + okay with snarf_opensim which is used regularly, went back and fixed snarf_notes to not include cloud, tried snarf_user and it seems too fat -- nah, it's okay actually since it's backing up dot files; this is actually a good idea, okay with -- 2.34.1