1
0
Fork 0
mirror of synced 2024-05-17 10:42:39 +12:00

Update script to extract IDs

This commit is contained in:
Serene-Arc 2021-05-22 11:47:59 +10:00 committed by Serene
parent 4395dd4646
commit 527a8af7b7

View file

@ -14,4 +14,9 @@ else
output="successful.txt"
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"