Fix mv command

This commit is contained in:
Administrator 2024-08-14 11:48:55 +00:00
parent 9b24ac8c86
commit 906cf28e6e

View File

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