GrimRob 0 Posted September 9, 2020 Share Posted September 9, 2020 I have a notebook which is purely used for logs. It get send several logs a day by email and this has been happening for some time now and the notebook is very slow to search in Windows with nearly 20,000 entries. I am not interested in anything more than a few weeks old. Is there a way I can purge away old content, ideally by some setting or script I can run. Link to comment
Level 5* DTLow 5,736 Posted September 9, 2020 Level 5* Share Posted September 9, 2020 1 hour ago, GrimRob said: Is there a way I can purge away old content, ideally by some setting or script I can run. Yes Which device/platforms do you have access to? I use a Mac with Applescript; also multi-select and block delete In Windows, sort by date; multi-select; block delete Link to comment
GrimRob 0 Posted September 9, 2020 Author Share Posted September 9, 2020 Problem is the notebook is so slow to load. It world take a very long time to do what you suggest. What I really want is a way of doing it without having to open it in the UI. Link to comment
Level 5* DTLow 5,736 Posted September 9, 2020 Level 5* Share Posted September 9, 2020 41 minutes ago, GrimRob said: Problem is the notebook is so slow to load. It world take a very long time to do what you suggest. What I really want is a way of doing it without having to open it in the UI. How about a search notebook:aaaaaaaa created;yyyymmdd to get a smaller set of notes to work with Link to comment
GrimRob 0 Posted September 10, 2020 Author Share Posted September 10, 2020 Actually I tried your first idea. Although it was monumentally slow searching through 20,000 entries (even on a SSD drive) it was quite quick to select and delete them, quicker than I thought it would be. I am down to 8000 records now. Searching seems quite slow still but has definitely improved. Link to comment
Level 5 PinkElephant 8,105 Posted September 10, 2020 Level 5 Share Posted September 10, 2020 You could interrupt the purging, and rebuild the search index meanwhile. On a Mac, it is hold down the opt/alt key before clicking on Help. On Windows it is strg (if I remember correctly) before clicking on help. This adds new options to the help menu, among which are options to rebuild the search index. Link to comment
GrimRob 0 Posted September 10, 2020 Author Share Posted September 10, 2020 Cheers running it now. ctrl-click on help menu for Windows Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now