about summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2013-10-02 17:05:12 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2013-10-02 17:05:12 +0200
commitb7e8e7b0efd9d73344e022e204f2e99e6321136e (patch)
treec566bae9b6e42dd4e59de46879f046d24d17137d
parentef2dbc3df8082782630f091833bd06206bdc3a07 (diff)
downloadrdumpfs-b7e8e7b0efd9d73344e022e204f2e99e6321136e.tar.gz
rdumpfs-b7e8e7b0efd9d73344e022e204f2e99e6321136e.tar.xz
rdumpfs-b7e8e7b0efd9d73344e022e204f2e99e6321136e.zip
fix for changed output in rsync 3.1.0
-rwxr-xr-xrdumpfs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rdumpfs b/rdumpfs
index 3acc606..8c2e0fb 100755
--- a/rdumpfs
+++ b/rdumpfs
@@ -25,7 +25,7 @@ src=("${@:1:$#-1}")
 dst=${!#}
 
 now=$(date +%Y%m%d)
-dumps=($(rsync $dst/ | cut -c44- | grep '^[0-9]*$' | sort -nr))
+dumps=($(rsync --no-h $dst/ | cut -c44- | grep '^[0-9]*$' | sort -nr))
 last=${dumps[0]}
 
 rsync_args=(-aHAX --stats --human-readable