mirror of
https://github.com/overleaf/overleaf.git
synced 2024-09-16 02:52:31 -04:00
7 lines
201 B
Bash
Executable file
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
|