I want to write a script that cleans up my project...
# random
f
I want to write a script that cleans up my project folders when I execute it. In linux, I can write a bash script with commands like
rm
,
mkdir
etc. What are the windows equivalent of these commands?
h
m
if you have WSL set up, you can run bash scripts in Windows. Alternatively you can write node scripts and use the
fs
api
r
Isn't a .bat / powershell script the counterpart of a bash script?
Or better yet use Python
1
o
We can use powershell scheduled in task scheduler based on schedule requirements would do the job.
Now rm command works in windows as well they have Linux equivalent in latest version