[rename] script

This commit is contained in:
Piotr Domański 2024-11-07 19:41:41 +01:00
parent bbce42908f
commit 7c58e51139
2 changed files with 9 additions and 0 deletions

View file

@ -0,0 +1,7 @@
function rename() {
for file in $@; do
open $file
read newname
mv $file $newname
done
}

2
.zshrc
View file

@ -223,3 +223,5 @@ if [ -d "$HOME/.config/scriptrc" ]; then
source $SCRIPTFILE source $SCRIPTFILE
done done
fi fi
export STM32_PRG_PATH=/Applications/STMicroelectronics/STM32Cube/STM32CubeProgrammer/STM32CubeProgrammer.app/Contents/MacOs/bin