added sorting, for more consistent output.
This commit is contained in:
+2
-2
@@ -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}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user