decomment

This commit is contained in:
Amber 2022-12-02 16:36:21 +01:00
parent e9082e375f
commit 9108c6b0dc
1 changed files with 2 additions and 2 deletions

4
masync
View File

@ -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