8 lines
104 B
Bash
8 lines
104 B
Bash
|
function rename() {
|
||
|
for file in $@; do
|
||
|
open $file
|
||
|
read newname
|
||
|
mv $file $newname
|
||
|
done
|
||
|
}
|