mirror of
https://github.com/tomru/DotfilesOld.git
synced 2026-03-03 06:27:21 +01:00
10 lines
169 B
Plaintext
10 lines
169 B
Plaintext
# Change file extensions recursively in current directory
|
|
#
|
|
# change-extension erb haml
|
|
|
|
function change-extension() {
|
|
foreach f (**/*.$1)
|
|
mv $f $f:r.$2
|
|
end
|
|
}
|