Forum > General

Search in Directories should exclude backups

<< < (2/2)

KodeZwerg:

--- Quote from: Nicole on November 28, 2022, 11:48:39 am ---Once upon a time, there was a genius Delphi programmer.
Who ever worked with Delphi knows:
backup is tricky.
These files are only dcu, those only backup, third are needed, those you can doe easily a second time...

As he was programmer, he wrote a backup solution and donated it to public.
Just for backup.
The public has no idea, where the donator came from and what his motivation was.

I learnt his "secret", because I once told him, that his open source is the best thing, I ever could imagine for Delphi backup.

So grab it, it does it all, what we need to save our sources.
personal-backup.rathlev-home.de

--- End quote ---
The OP does not want to backup anything, he wants to search within IDE for something, including sub-folders with excluding "backup" folder (in delphi terms "__history" & "__recovery")
My way of fixing would be to patch the original Lazarus source code to add option "[] exclude backup" on that search formular.

Чебурашка:

--- Quote from: Grahame Grieve on November 28, 2022, 08:37:52 am ---My Lazarus creates backups in a subdirectory called backup. I didn't make it do that, so I think it's automatically configured this way.

When I do a search in directories, searching through my source code, it'd be really great if it didn't search into the backup directories. So many false matches...

--- End quote ---

Agree 100%.
Also when searching like this I often edited files in the backup folder due to this.

Bart:
There already is a feature request for that in the bugtracker.
I'm too lazy to look it up for you.

Bart

Navigation

[0] Message Index

[*] Previous page

Go to full version