From 8b15be0ed4040475f8a7ff085f4b1b5684eedda3 Mon Sep 17 00:00:00 2001 From: "Adam M. Stück" Date: Wed, 23 Nov 2022 12:51:59 +0100 Subject: Archiver now only looks at job data (*.csv) This fixes an issue where the generated data.csv contains text from non-job data files such as *.hardwareinfo --- archiver | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archiver') diff --git a/archiver b/archiver index 1c0bc79..4dfb8a8 100755 --- a/archiver +++ b/archiver @@ -34,7 +34,7 @@ aggregate_files() { OUTPUT+="$FILE\n" HEADER_INSERTED=true - done < <(find "$RESULTS_PATH" -maxdepth 1 -type f -print0) + done < <(find "$RESULTS_PATH" -name '*.csv' -maxdepth 1 -type f -print0) HEADER=$(echo -e "$OUTPUT" | head -n 1) ALL_ROWS=$(echo -e "$OUTPUT" | tail -n +2 | sort -t$'\t' -k6,6 -n) -- cgit v1.2.3-70-g09d2