7caae5b8bc
* rnm: don't ever repeat yourself in the shell * chext: easily change file extension
5 lines
68 B
Plaintext
5 lines
68 B
Plaintext
[[ -z $3 ]] || return 1
|
|
head=${1:h}
|
|
name="${head}/${2}"
|
|
mv $1 $name
|