diff options
author | Dylan Araps <dylan.araps@gmail.com> | 2019-02-05 09:41:50 +0200 |
---|---|---|
committer | Dylan Araps <dylan.araps@gmail.com> | 2019-02-05 09:41:50 +0200 |
commit | 98af242c856256d5108da428abf6d03523cf4e5e (patch) | |
tree | fad70c3026680a10fbae0a25f7ef9b3502c11ceb | |
parent | eb16118c7620ca179b8122f5e14f965bd2532720 (diff) |
general: File size support
-rwxr-xr-x | fff | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -164,6 +164,9 @@ status_line() { get_file_sizes() { # Get sizes of files. + [[ -z ${files[*]} ]] && + return + IFS=$'\n' read -d "" -ra file_sizes < <(du -ks "${files[@]}") file_sizes=("${file_sizes[@]//[[:space:]]*}") |