Files
borg/docker/app/scripts/remote-get-folder-size
Márcio Fernandes b02ffb7021
All checks were successful
/ build-docker-image (push) Successful in 50s
ssh client revision added some helper scripts and changed to alpine
2025-09-13 23:35:28 +01:00

5 lines
170 B
Plaintext
Executable File

#/bin/bash
source loadenv
repo_size_bytes=$(remote-connect du -b "$SSH_FOLDER" -d 0)
repo_size_bytes=$(echo "$repo_size_bytes" | awk '{print $1}')
echo "$repo_size_bytes"