X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Farchival%2Fsnarf_notes.pl;h=e41c2e855b41e450b5f23d01f720c9a0e0bcf27c;hb=b7188fb75f87d5c455a48852ce742c8e3150ce7a;hp=f2e39d2e7c7a57c44dcf37b07e3da92fb46afd40;hpb=2eb70b9e9b288734a6988b2426809f2c66e927ae;p=feisty_meow.git diff --git a/scripts/archival/snarf_notes.pl b/scripts/archival/snarf_notes.pl index f2e39d2e..e41c2e85 100644 --- a/scripts/archival/snarf_notes.pl +++ b/scripts/archival/snarf_notes.pl @@ -18,9 +18,10 @@ # version of the License. Please send any updates to "fred@gruntose.com". # ############################################################################### -require "importenv.pl"; require "shared_snarfer.pl"; +use Env qw(HOME); + &initialize_snarfer; # get the number we use and increment it for the next use. @@ -37,9 +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. +#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"); @@ -47,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"); ############################################################################