aboutsummaryrefslogtreecommitdiffstats
path: root/backuper.sh
diff options
context:
space:
mode:
authorGravatar Robin Obůrka <r.oburka@gmail.com> 2016-08-23 20:42:29 +0200
committerGravatar Robin Obůrka <r.oburka@gmail.com> 2016-08-23 20:42:29 +0200
commitb883118db5e67acc6c3bdae4910da84992beddd6 (patch)
treede826b0ec33abfebc466253cea00aa5a4cb0659d /backuper.sh
parentFix error in gpg recipients builder (diff)
downloadbackuper-b883118db5e67acc6c3bdae4910da84992beddd6.tar.xz
get_size: Use simpler command to extract size
Diffstat (limited to 'backuper.sh')
-rw-r--r--backuper.sh2
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() {