You're viewing a single thread.
View all comments
262
comments
Easy!
For i in *.py do; mv $i basename ($i).exe ; done
Or something...
I haven't written any shell in ages.
25 1 ReplyBut why is there code?
12 0 ReplyNo more code, just exe.
15 0 ReplyHere you go:
for i in *.py do; mv $i basename ($i).exe ; done && echo .exe
See? It's an exe now.
1 0 Reply
Ohhh the exes are IN the computer.
6 0 ReplyAlmost
for i in *.py do; mv $i $(basename $i).exe ; done
Or easier
rename '.py' '.exe' *.py
6 0 Reply
You've viewed 262 comments.
Scroll to top