Nextcloud, Hyperling.com, LibreTranslate, and backup.sh
Enhancements
#11
@@ -18,7 +18,7 @@ time="`which time`"
|
||||
## Main ##
|
||||
|
||||
# Remove the last backup.
|
||||
if [[ -e $file ]]; then
|
||||
if [[ -e "$BASENAME"*"$TAG"* ]]; then
|
||||
echo "`date` - Removing existing file."
|
||||
rm -fv "$BASENAME"*"$TAG"*
|
||||
fi
|
||||
|
Reference in New Issue
Block a user