diff options
author | Adam M. Stück <adam@adast.xyz> | 2022-11-23 12:51:59 +0100 |
---|---|---|
committer | Adam M. Stück <adam@adast.xyz> | 2022-12-16 22:17:18 +0100 |
commit | 8b15be0ed4040475f8a7ff085f4b1b5684eedda3 (patch) | |
tree | 697057f4dd1b18522d87c4c450a25b684d4e3582 | |
parent | c3dd7c95e17523e77e8558b9cb57176bc8275bea (diff) |
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
-rwxr-xr-x | archiver | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |