overleaf/services/track-changes/pack.sh
2016-01-27 15:14:23 +00:00

7 lines
201 B
Bash
Executable file

while docs=$(curl "localhost:3015/doc/list?limit=1000"); do
if [ -z "$docs" ] ; then break ; fi
for d in $docs ; do
echo "packing $d"
curl -X POST "localhost:3015/doc/$d/pack"
done
done