This commit is contained in:
USER
2024-09-06 21:38:29 +01:00
parent 7cfefe88d0
commit f3fe024705
4 changed files with 69 additions and 0 deletions

View File

@ -0,0 +1,17 @@
#!/bin/sh -x
TEMP1=$(mktemp)
TEMP2=$(mktemp)
${BINARY} cli config folders list > ${TEMP1}
for i in `cat ${TEMP1}`
do
echo $i
${BINARY} cli config folders $i rescan-intervals set 9997
${BINARY} cli config folders $i fswatcher-enabled set true
${BINARY} cli config folders $i min-disk-free unit set GB
${BINARY} cli config folders $i min-disk-free value set 1
done
rm -f ${TEMP1} ${TEMP2}