From ebc4097959e31b34ca18aa6d3c8d26a1ffdec16e Mon Sep 17 00:00:00 2001
From: Frankie <frankievalentine9@gmail.com>
Date: Wed, 4 Jan 2023 03:57:40 -0800
Subject: [PATCH] Fix for unrecognized flags on du (#488)

--total --block-size="K" --dereference were all unrecognized flags for this script. I have updated them to the correct flags to run correctly.

Co-authored-by: Stefan Benten <mail@stefan-benten.de>
---
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 50099a2e..4f0e525d 100644
--- a/README.md
+++ b/README.md
@@ -295,7 +295,7 @@ transfer()
     local curl_output
     local awk_output
 
-    du --total --block-size="K" --dereference "${file_array[@]}" >&2
+    du -c -k -L "${file_array[@]}" >&2
     # be compatible with "bash"
     if [[ "${ZSH_NAME}" == "zsh" ]]
     then
-- 
GitLab