New
#1
Bulk copying of text files, but with new extension
I have several hundred text files with the extension '.ino'. On my Win 10 PC I can view them in any text editor. They are also accessible on my iPad because they are in subfolders of my Dropbox folder. However they cannot be viewed directly on the iPad. One of several frustrations I have with either iOS or Dropbox - haven't quite pinned the culprit down in this case.
Could some kind expert please suggest a batch file, script or any tool that would take a parent folder (File Explorer) path as its input, and make identically named copies of every .ino file in every subfolder of it, but with a .txt extension, saving them in the same location. And over-writing on any subsequent occasions.
So files like this
C:\Users\terry\Dropbox\Electronics\Arduino\SKETCHES\My Sketches\MY SKETCHES 2021-2022\DFR SD ORIG type\JUKEBOX\J26Sh9plus\J26Sh9plus.ino
would be accompanied by
C:\Users\terry\Dropbox\Electronics\Arduino\SKETCHES\My Sketches\MY SKETCHES 2021-2022\DFR SD ORIG type\JUKEBOX\J26Sh9plus\J26Sh9plus.txt
If this was a one-off task I would tackle it within File Explorer. I did so a year ago and it was tedious. But I will want to update it at intervals, hence the need for some neat automation please.
Any help would be much appreciated.
Version 21H2 (OS Build 19044.2604)