You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
session-desktop/scripts/features/2193-migrate-attachments-on.../disk-usage.sh

19 lines
322 B
Bash

#!/bin/bash
ROOT=$1
if [[ "$1" == "" ]]; then
echo "Usage: $(basename "$0") <signal-profile-path>"
exit 1
fi
while true
do
echo -n "$(date -u +"%Y-%m-%dT%H:%M:%SZ ")"
du -sm "$ROOT/attachments.noindex"
echo -n "$(date -u +"%Y-%m-%dT%H:%M:%SZ ")"
du -sm "$ROOT/IndexedDB"
sleep 1
done