Files
shell-scripts/crons/backup-log.sh
T
andrew b528568876 install to use pip certbot, instead of apt.
migrating to discord using block style.
2023-09-06 17:50:43 +00:00

17 lines
323 B
Bash
Executable File

#!/bin/bash
LOCATION=`dirname "$0"`
source "${LOCATION}/../config.sh"
cd "${BACKUP_DIRECTORY}"
backups=`find * -type f | sort | xargs du -h`
echo "${backups}"
${LOCATION}/../discord.sh block "${backups}"
hashes=`find * -type f | sort | xargs md5sum --tag`
echo "${hashes}"
${LOCATION}/../discord.sh block "${hashes}"