decomment
This commit is contained in:
parent
e9082e375f
commit
9108c6b0dc
4
masync
4
masync
|
@ -161,7 +161,7 @@ startsyncpath() {
|
||||||
snapshotfile=$(format ${SNAPSHOTFILE} hash=${localpath_hash})
|
snapshotfile=$(format ${SNAPSHOTFILE} hash=${localpath_hash})
|
||||||
#tempqueuefile=~/.syncdir_${localpath_hash}.queue
|
#tempqueuefile=~/.syncdir_${localpath_hash}.queue
|
||||||
tempqueuefile=$(format ${TMPQUEUEFILE} hash=${localpath_hash})
|
tempqueuefile=$(format ${TMPQUEUEFILE} hash=${localpath_hash})
|
||||||
#syncloopfile=$(format ${SYNCLOOPFILE} hash=${localpath_hash})
|
syncloopfile=$(format ${SYNCLOOPFILE} hash=${localpath_hash})
|
||||||
|
|
||||||
if [ -e ${snapshotfile} ]; then
|
if [ -e ${snapshotfile} ]; then
|
||||||
echo "Founded snapshot file: ${snapshotfile} checking files to remove..."
|
echo "Founded snapshot file: ${snapshotfile} checking files to remove..."
|
||||||
|
@ -170,7 +170,7 @@ startsyncpath() {
|
||||||
rm -f ${snapshotfile}
|
rm -f ${snapshotfile}
|
||||||
fi
|
fi
|
||||||
## ensure local computer sends eventually new files adding a fake line in the queue
|
## ensure local computer sends eventually new files adding a fake line in the queue
|
||||||
#echo -e "${PURPLE}[DUMMY PUSH]${ENDCOLOR} to remote" >> ${syncloopfile}
|
echo -e "${PURPLE}[DUMMY PUSH]${ENDCOLOR} to remote" >> ${syncloopfile}
|
||||||
echo "Startsync DUMMY ACTION" >> ${tempqueuefile}
|
echo "Startsync DUMMY ACTION" >> ${tempqueuefile}
|
||||||
echo -e "${GREEN}DONE${ENDCOLOR}"
|
echo -e "${GREEN}DONE${ENDCOLOR}"
|
||||||
loopsyncpath $1
|
loopsyncpath $1
|
||||||
|
|
Loading…
Reference in New Issue