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