diff options
author | Robin Obůrka <r.oburka@gmail.com> | 2016-08-23 20:42:29 +0200 |
---|---|---|
committer | Robin Obůrka <r.oburka@gmail.com> | 2016-08-23 20:42:29 +0200 |
commit | b883118db5e67acc6c3bdae4910da84992beddd6 (patch) | |
tree | de826b0ec33abfebc466253cea00aa5a4cb0659d | |
parent | Fix error in gpg recipients builder (diff) | |
download | backuper-b883118db5e67acc6c3bdae4910da84992beddd6.tar.xz |
get_size: Use simpler command to extract size
-rw-r--r-- | backuper.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backuper.sh b/backuper.sh index 6ef9a8e..684778e 100644 --- a/backuper.sh +++ b/backuper.sh @@ -53,7 +53,7 @@ title() { get_size() { FILE="$1" - du -h "$FILE" | awk '{ print $1 }' + du -h "$FILE" | cut -f1 } time_fmt() { |