Split a file into multiple files at each line where a substring pattern changes?
I have a bash script using tree to get a recursive list of local file paths, then convert these into their final public URL’s by prepending a URL prefix, and writing this to a file.