Update script to extract IDs
This commit is contained in:
parent
4395dd4646
commit
527a8af7b7
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue