diff --git a/README.md b/README.md index 26fe7db..9ed2c54 100644 --- a/README.md +++ b/README.md @@ -13,4 +13,4 @@ * Run `aws configure` * Symlink unit files to `/etc/systemd/system` * Run `systemctl enable` on units and slices -* Run `systemctl start` on timers +* Run `systemctl start` on timers diff --git a/backup-bitwarden.sh b/backup-bitwarden.sh index 7a0bc23..ea2994c 100755 --- a/backup-bitwarden.sh +++ b/backup-bitwarden.sh @@ -43,7 +43,9 @@ cp -r "${ROOT_DIR}/data" "./data" cp "${ROOT_DIR}/.env" "./.env" cp "${ROOT_DIR}/bitwarden.exceede.com.conf" "./bitwarden.exceede.com.conf" -sum=$(find . -type f -not -name "${dumpfile}" -and -not -path "./data/icon_cache/*" -exec md5sum {} + | LC_ALL=C sort | md5sum | cut -d ' ' -f 1) +rm -rf ./data/icon_cache + +sum=$(find . -type f -not -name "${dumpfile}" -exec md5sum {} + | LC_ALL=C sort | md5sum | cut -d ' ' -f 1) rm sorted.sql