From 18a1b73201aa0752c4dcec05fd48b2fdaab79bd2 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Fri, 27 Jul 2018 14:23:52 +0200 Subject: [PATCH] Fix saving of data when no previous state is present --- duhome | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/duhome b/duhome index 09e8ff3..fce4328 100755 --- a/duhome +++ b/duhome @@ -12,7 +12,7 @@ case "$1" in ;; save) cd $DATA - git rm '*' # Remove old data - perhaps, some homes were removed + git rm --force --quiet '*' # Remove old data - perhaps, some homes were removed for i in /home/*; do du -shx $i | cut -f1 > ${i#/home/}; git add ${i#/home/} -- 2.39.2