Date modified lookback based on current date....

Tool for Search and Replace across multiple files.
Post Reply
4EverMaAT
Posts: 19
Joined: Tue Sep 24, 2019 4:07 pm

Date modified lookback based on current date....

Post by 4EverMaAT »

1a) Rather than have strict dates modified (file timestamp) to search between, there should be "files no older than x minutes/hours/days ago"
or
"files no newer than x minutes/hours/days ago"


This allows the file date modified to be "rolling" without having to go in every day to change the date modified range to search.

1b) and you can pick the reference date. It could be the current date when the script is run. It could be a fixed date. It could be the oldest/newest file modified date found in the folder. Some more precision is needed here.


2) search needs to be faster. You can sort/skip the date ranges that are excluded. But I found that your batch script seems to be searching though each file in the folder FIRST, then performing exclusions. This is inefficient.

I have python/java scripts that manipulate based on date much quicker than TextCrawler. So please update your filter methods for higher efficiency.

But your program is pretty good otherwise. The visual checks make it very pleasant to make sure the regex is correct.
User avatar
DigitalVolcano
Site Admin
Posts: 1717
Joined: Thu Jun 09, 2011 10:04 am

Re: Date modified lookback based on current date....

Post by DigitalVolcano »

Thanks for the feedback. I'll feed this into the next update (hopefully soon).
Post Reply