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>
This commit is contained in:
Frankie 2023-01-04 03:57:40 -08:00 committed by GitHub
parent ca798ff6f6
commit ebc4097959
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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