Just some random scripts I wrote for random things... expect janky code and a lack of comments!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
471 B

echo "Database Size:" "$(du -h -d 0 $databaseLocation | awk '{print $1}')"
echo " Uploads Size:" "$(du -h -d 0 $uploadLocation | awk '{print $1}')" "($(find $uploadLocation -type f | wc -l) files)"
echo " Emoji Size:" "$(du -h -d 0 $emojiLocation | awk '{print $1}')" "($(find $emojiLocation -type f | wc -l) files)"