Batch

Tool for Search and Replace across multiple files.
Post Reply
User avatar
DavidK

Batch

Post by DavidK »

I have about 50 RegEx Find/Replace pairs that I want to execute in order on a folder and its sub-folders. Some are case sensitive, some are not; some have the 'Whole Words Only' selected and some not.

It seems that, with the Batch feature, I have to save these as 50 separate libraries and then add them to a batch command to run them in order. Also, the case or whole words only options seem to apply to all or none of the queued commands.

Is there any way I can create and save one item with all these Find/Replace commands within it with these options as appropriate on a per Find/Replace change?

How about an Import function that reads in these Find/Replace pairs (and their options) from a text file?

Otherwise a great product!
User avatar
DavidK

Post by DavidK »

Found the two files RegEx.txt and BatchJobs.txt and, after a little playing, think I can edit these directly to set everything I want - except a flag to set case sensitive/whole words ony.
User avatar
DV

Post by DV »

Yes, those are the files you want - note the fields are tab separated.

I'll look at better ways of managing/importing for TC 2.0
Post Reply