View Single Post
Old 07-29-2024, 05:51 PM   #15
sheepdog
Member
sheepdog began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jul 2024
Device: calibre
I certainly agree, that you cannot depend upon Dropbox alone, and you need to backup and check the libraries often. That said, here is a simple-minded script that works on my linux machine to do what was suggested:

Code:
dropbox start
dropbox status
echo -n "SYNCING CALIBRE"
wait_time=15
i=0
while [ $i -le $wait_time ]; do
	echo -n .
	((i++))
done
dropbox stop
echo -n "STOPPING DROPBOX"
i=0
while [ $i -le $wait_time ]; do
	echo -n .
	((i++))
done
calibre 
echo - n "SYNCING DROPBOX"
i=0
while [ $i -le $wait_time ]; do
	echo -n .
	((i++))
done
dropbox start
dropbox status
i=0
while [ $i -le $wait_time ]; do
	echo -n .
	((i++))
done
dropbox stop
sheepdog is offline   Reply With Quote