15 git rm --force --quiet '*' # Remove old data - perhaps, some homes were removed
17 du -shx $i | cut -f1 > ${i#/home/};
24 GIT_AUTHOR_NAME="$0" GIT_AUTHOR_EMAIL="$USER@$(hostname -f)" \
25 git commit --quiet -m 'Automatic commit' "$@" > /dev/null || :
29 grep . *|sort -h -k2 -t:
30 git ls-files --with-tree=HEAD | while read f; do
31 echo "$f:$(git show "HEAD:$f")"
32 done | sort -h -k2 -t:
37 if ! [ "$dir" ]; then echo "Missing directory name" >&2; exit 1; fi
38 if ! [ -f "$dir" ]; then echo "No information about $dir in $DATA" >&2; exit 1; fi
39 git log --format='%H %ci' -- $dir | while read commit date; do
40 echo $date $(git show $commit:$dir)
45 Usage: $0 <command> [ <options> ]
50 - commit [ <git commit arguments> ]