1
0
forked from extern/zsync

copy instead of move

This commit is contained in:
Administrator 2024-08-14 11:50:36 +00:00
parent 906cf28e6e
commit 988da0f5d1

View File

@ -1,5 +1,5 @@
#!/bin/bash
if [ -f /etc/bashclub/zsync.conf ]; then
mv /etc/bashclub/zsync.conf /etc/bashclub/zsync.conf.backup_$(date +%Y-%m-%d)
cp /etc/bashclub/zsync.conf /etc/bashclub/zsync.conf.backup_$(date +%Y-%m-%d)
fi