From 8450e9ac59dfb678ae3fc2adca5bb837804710f3 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sat, 13 Sep 2014 00:07:55 +0200 Subject: add some new scripts Signed-off-by: Florian Pritz --- rsync-size | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 rsync-size (limited to 'rsync-size') diff --git a/rsync-size b/rsync-size new file mode 100755 index 0000000..a592a1a --- /dev/null +++ b/rsync-size @@ -0,0 +1,3 @@ +#!/bin/bash + +units -t $(rsync --no-motd -r --list-only $1 | awk '{print $2}' | sed 's/,//g' | paste -sd+ |bc)bytes Gibytes -- cgit v1.2.3-24-g4f1b