[modify] rewrite backups.sh, add dash logo change, and change the start program of calibre

This commit is contained in:
2023-06-08 10:02:29 +08:00
parent 66b1dd4d70
commit 3956206c45
3 changed files with 6 additions and 6 deletions

View File

@ -14,7 +14,7 @@ cp -rf /etc/apt/sources.list /opt/configs/conf/
cp -rf /root/.acme.sh/*ecc /opt/configs/acme/
cd /opt && t=`date +%Y%m%dT%H%M%S`
rsync -av apps configs logs scripts websites wd/72-Backups/CrossChain/VPS/ > /opt/logs/rsync/rsync_${t}.log
rsync -av --delete apps configs logs scripts websites wd/72-Backups/CrossChain/VPS/ > /opt/logs/rsync/rsync_${t}.log
cd /opt/logs/rsync/
let count=`ls | wc -l`
if [[ $count -gt 10 ]]; then