removes fixes
This commit is contained in:
@ -1,9 +0,0 @@
|
||||
HOME=~
|
||||
export HOME
|
||||
|
||||
STHOMEDIR=~/.config/syncthing
|
||||
export STHOMEDIR
|
||||
|
||||
#STGUIADDRESS=0.0.0.0:8384
|
||||
#export STGUIADDRESS
|
||||
|
||||
@ -1,5 +0,0 @@
|
||||
BINARY=~/Downloads/.syncthing/syncthing
|
||||
|
||||
${BINARY} cli config defaults folder fswatcher-enabled set true
|
||||
${BINARY} cli config defaults folder rescan-intervals set 19997
|
||||
${BINARY} cli config options min-home-disk-free unit set GB
|
||||
@ -1,17 +0,0 @@
|
||||
BINARY=~/Downloads/.syncthing/syncthing
|
||||
MYHOST=`uname -n`
|
||||
myID=`${BINARY} --device-id`
|
||||
|
||||
MASTER_LIST=/zz/zPrivate/secrets/master.list
|
||||
SHARE_LIST=/zz/zPrivate/secrets/share.list
|
||||
|
||||
${BINARY} cli config devices ${myID} name set ${MYHOST}.${LOGNAME}
|
||||
|
||||
#grep -v ${myID} ${MASTER_LIST} > /tmp/final.1
|
||||
grep -v ${myID} ${SHARE_LIST} > /tmp/final.1
|
||||
|
||||
for i in `cat /tmp/final.1`
|
||||
do
|
||||
echo $i
|
||||
${BINARY} cli config devices add --device-id $i
|
||||
done
|
||||
@ -1,21 +0,0 @@
|
||||
BINARY=~/Downloads/.syncthing/syncthing
|
||||
|
||||
myID=`${BINARY} --device-id`
|
||||
|
||||
MASTER_LIST=/zz/zPrivate/secrets/master.list
|
||||
SHARE_LIST=/zz/zPrivate/secrets/share.list
|
||||
|
||||
#grep -v ${myID} ${MASTER_LIST} > /tmp/final.1
|
||||
grep -hv ${myID} ${SHARE_LIST} > /tmp/final.1
|
||||
|
||||
${BINARY} cli config folders list > /tmp/final.2
|
||||
|
||||
for i in `cat /tmp/final.1`
|
||||
do
|
||||
echo $i
|
||||
for j in `cat /tmp/final.2`
|
||||
do
|
||||
echo $j
|
||||
${BINARY} cli config folders $j devices add --device-id=$i
|
||||
done
|
||||
done
|
||||
@ -1,20 +0,0 @@
|
||||
BINARY=~/Downloads/.syncthing/syncthing
|
||||
MYHOST=`uname -n`
|
||||
myID=`${BINARY} --device-id`
|
||||
|
||||
MASTER_LIST=/zz/zPrivate/secrets/master.list
|
||||
SHARE_LIST=/zz/zPrivate/secrets/share.list
|
||||
|
||||
${BINARY} cli config devices ${myID} name set ${MYHOST}.${LOGNAME}
|
||||
|
||||
#grep -v ${myID} ${MASTER_LIST} > /tmp/final.1
|
||||
grep -hv ${myID} ${SHARE_LIST} > /tmp/final.1
|
||||
|
||||
for i in `cat /tmp/final.1`
|
||||
do
|
||||
echo $i
|
||||
${BINARY} cli config devices
|
||||
|
||||
|
||||
add --device-id $i
|
||||
done
|
||||
@ -1,13 +0,0 @@
|
||||
BINARY=~/Downloads/.syncthing/syncthing
|
||||
|
||||
${BINARY} cli config folders list > /tmp/final.2
|
||||
|
||||
for i in `cat /tmp/final.2`
|
||||
do
|
||||
echo $i
|
||||
${BINARY} cli config folders $i rescan-intervals set 19997
|
||||
${BINARY} cli config folders $i fswatcher-enabled set true
|
||||
${BINARY} cli config folders $i min-disk-free unit set GB
|
||||
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user