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