git branch --sort=committerdate \ | grep -v "^\*" \ | while read branch; do if [ "$(git log -1 --since='1 week ago' --format=%H $branch)" = "" ]; then echo "$branch" fi done