mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2024-11-26 22:20:18 +01:00
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:
parent
ca798ff6f6
commit
ebc4097959
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue