added sorting, for more consistent output.

This commit is contained in:
2020-04-29 19:19:36 +00:00
parent 606978754c
commit 1a08b252ad
+2 -2
View File
@@ -6,11 +6,11 @@ source "${LOCATION}/../config.sh"
cd "${BACKUP_DIRECTORY}"
backups=`find * -type f | xargs du -h`
backups=`find * -type f | sort | xargs du -h`
echo "${backups}"
${LOCATION}/../discord.sh general "${backups}"
hashes=`find * -type f | xargs md5sum`
hashes=`find * -type f | sort | xargs md5sum`
echo "${hashes}"
${LOCATION}/../discord.sh general "${hashes}"