commit
71e9e44c87
1 changed files with 9 additions and 0 deletions
@ -0,0 +1,9 @@ |
||||
#!/bin/sh |
||||
|
||||
databaseLocation="/mnt/sdb/docker-postgres/" |
||||
uploadLocation="/mnt/sdb/pleroma-uploads/" |
||||
emojiLocation="/opt/pleroma/instance/static/emoji/" |
||||
|
||||
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)" |
Loading…
Reference in new issue