#!/bin/sh if [ $# -lt 1 ] then echo "Usage: $0 file.json" exit 1 fi jq .admin=true < $1 > $1.new mv $1.new $1