Files
shell-scripts/crons/backup-log.sh
T
2020-04-29 18:26:31 +00:00

17 lines
307 B
Bash
Executable File

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