diff --git a/masync b/masync index dbbe6ef..5a4f6db 100755 --- a/masync +++ b/masync @@ -161,7 +161,7 @@ startsyncpath() { snapshotfile=$(format ${SNAPSHOTFILE} hash=${localpath_hash}) #tempqueuefile=~/.syncdir_${localpath_hash}.queue tempqueuefile=$(format ${TMPQUEUEFILE} hash=${localpath_hash}) - #syncloopfile=$(format ${SYNCLOOPFILE} hash=${localpath_hash}) + syncloopfile=$(format ${SYNCLOOPFILE} hash=${localpath_hash}) if [ -e ${snapshotfile} ]; then echo "Founded snapshot file: ${snapshotfile} checking files to remove..." @@ -170,7 +170,7 @@ startsyncpath() { rm -f ${snapshotfile} fi ## 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 -e "${GREEN}DONE${ENDCOLOR}" loopsyncpath $1