planet-wars/frontend/names.sh

11 lines
105 B
Bash
Raw Normal View History

2019-09-24 15:31:21 +02:00
#!/bin/bash
function name {
rig | head -n 1
}
for var in "$@"
do
mv "$var" "$(name).json"
done