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