Insert Text at the start of file

Tool for Search and Replace across multiple files.
Post Reply
Scalter
Posts: 2
Joined: Thu Oct 15, 2015 10:29 pm

Insert Text at the start of file

Post by Scalter »

I'm new to TextCrawler and i can't figure out how to add a new line of text at the start of a text file.

I'm batch transforming Google Location History KML's into a CSV that QGIS can read. The only part i can't figure out how to add in is a line at the top for column headings.

The text i need to add is as follows:

"Timestamp,x,y,z"

With a new line starting after 'z'

Is it possible to batch add this or will i have to do it manually for each file?

Thanks,
Josh.
Scalter
Posts: 2
Joined: Thu Oct 15, 2015 10:29 pm

Re: Insert Text at the start of file

Post by Scalter »

I've worked out how to do this using \A
Post Reply