planet-wars/frontend/names.sh
2019-09-24 15:31:21 +02:00

10 lines
105 B
Bash

#!/bin/bash
function name {
rig | head -n 1
}
for var in "$@"
do
mv "$var" "$(name).json"
done