Rename local directory files
Hi!
I'm trying to run the script bellow and I need to rename the file from .temp to .txt after the download.
Can someone assist me?
cd /00_fidelity/00_recebimento/04_enriquecimento_kba/Bradesco
lcd C:\Users\HP\Desktop
mv *.txt *.temp
mget *.temp
rm *.temp
mv C:\Users\HP\Desktop\*.temp C:\Users\HP\Desktop\*.txt <- this doesn't work
exit
I'm trying to run the script bellow and I need to rename the file from .temp to .txt after the download.
Can someone assist me?
cd /00_fidelity/00_recebimento/04_enriquecimento_kba/Bradesco
lcd C:\Users\HP\Desktop
mv *.txt *.temp
mget *.temp
rm *.temp
mv C:\Users\HP\Desktop\*.temp C:\Users\HP\Desktop\*.txt <- this doesn't work
exit