File size: 117 Bytes
a5f760c
 
 
 
 
1
2
3
4
5
6
#!/usr/bin/env bash

for x in **/corpus.jsonl; do
  cat $x | jq -sc > $(dirname $x)/$(basename $x .jsonl).json;
done