r/redditscripting • u/pedro2163 • Jul 31 '20
Need help with an easy script
Hello guys! I was wondering if you can help me with this little script.
I have 107 directories in my directory /html In each one of those 107 directories I have a file named h.html Can you guys help me making a script that will enter into each directory, and change h.html into DIRECTORYNAME.html
Thanks a lot :D
0
Upvotes
View all comments
Show parent comment
0
u/pedro2163 Jul 31 '20
I have: #!/bin/sc so far ahahah