Update script to extract IDs

This commit is contained in:
Serene-Arc authored and Serene committed 2021-05-22 11:53:44 +10:00
1 parent 4395dd4646
commit 527a8af7b7
1 file changed
+6 -1
+6 -1
View File
@@ -14,4 +14,9 @@ else
output="successful.txt" output="successful.txt"
fi fi
grep 'Downloaded submission' "$file" | awk '{ print $(NF-2) }' >> "$output" {
grep 'Downloaded submission' "$file" | awk '{ print $(NF-2) }' ;
grep 'Resource hash' "$file" | awk '{ print $(NF-2) }' ;
grep 'Download filter' "$file" | awk '{ print $(NF-3) }' ;
grep 'already exists, continuing' "$file" | awk '{ print $(NF-3) }' ;
} >> "$output"