Fix: SC2035 on getStorageUsed.sh

This commit is contained in:
York-Simon Johannsen 2023-06-08 12:34:19 +02:00
parent e886343911
commit 8e54cf66b8
No known key found for this signature in database
GPG key ID: 006F8812A4B527D9

View file

@ -2,7 +2,7 @@
# Shell created by Raven for BorgWarehouse.
# Get the size of all repositories in a JSON output.
# stdout will be an array like :
# stdout will be an array like :
# [
# { size: 32, name: '10e73223' },
# { size: 1155672, name: '83bd4ef1' },
@ -16,4 +16,4 @@ set -e
# Use jc to output a JSON format with du command
cd /var/borgwarehouse
sudo /usr/bin/du -s * | jc --du
sudo /usr/bin/du -s ./* | sed 's/\.\///' | jc --du