$dir_for_hierarchy = $extra_component;
}
- @dir_contents = &glob_list("$dir$extra_piece/*$pattern*");
+ @dir_contents = &glob_list("$dir_for_hierarchy$extra_piece/*$pattern*");
# print "dir contents: @dir_contents\n";
if (!scalar(@dir_contents)) {
}
foreach $item (@dir_contents) {
+# print "considering backup hier of $item\n";
if ( ($item =~ /$pattern.*snarf/) || ($item =~ /$pattern.*tar/) ) { next; }
if ( ! -d "$item" ) { next; }
- &backup_hierarchy($prefix, $number, $dir, "$dir_for_hierarchy" . "/" . &basename($item));
+# print "now really planning to backup hier of $item\n";
+ &backup_hierarchy($prefix, $number, $dir_for_hierarchy . $extra_piece, &basename($item));
}
}
&snarf_by_pattern($snarf_file_base, "$root", "list");
&snarf_by_pattern($snarf_file_base, "$root", "task");
-# backup additional items from our Ubuntu One folder.
-&snarf_by_pattern($snarf_file_base, "$root", "notes", "Ubuntu One");
+# backup additional folders we care about.
+###ubuntu one retired because of complete unreliability.
+#&snarf_by_pattern($snarf_file_base, "$root", "notes", "Ubuntu One");
############################################################################
--- /dev/null
+#!/bin/bash
+
+# checker_report: runs the checker utility against all files in a directory,
+# in such a way that the file count can be very high without blowing its
+# mind, and without any extra headers in the report.
+
+source $FEISTY_MEOW_SCRIPTS/core/functions.sh
+
+dirname="$1"; shift
+outfile="$1"; shift # optional parm.
+
+if [ -z "$dirname" ]; then
+ echo "This script requires one directory on which to make a checker report."
+ exit 1
+fi
+
+if [ -z "$outfile" ]; then
+ outfile="$HOME/checker_report_$(hostname)_$(date_stringer).txt"
+fi
+
+if [ -f "$outfile" ]; then
+ rm "$outfile"
+fi
+
+temp_file_list="$(mktemp /tmp/file_list_temporary.XXXXXX)"
+
+find "$dirname" -type f >"$temp_file_list"
+###-exec echo \"{}\" ';'
+while read line; do
+ checker -q -b "$line" 2>&1 >>"$outfile"
+done <"$temp_file_list"
+
+
screen_name="$1"; shift
app_name="$1"; shift
echo "$(mdate): starting $screen_name now..."
- screen -L -S "$screen_name" -d -m nice -n $NICENESS_LEVEL mono "$app_name"
+ screen -L -S "$screen_name" -d -m nice -n $NICENESS_LEVEL mono --debug "$app_name"
#-console=basic
echo "$(mdate): $screen_name started."
sleep $SNOOZE_TIME