You are here: PSPad forum > English discussion forum > Find in files with excluded folder not working?
Posted by: knulo | Date: 2020-11-13 18:25 | IP: IP Logged
Hello Jan,
great work to develop and enhance this powerful editor I use for years - thanks a lot!
According to hints in that forum I entered
'.cvsignore;vssver.scc;.git;Z:\phptest\media'
or
'.cvsignore;vssver.scc;.git;Z:\phptest\media\*'
under 'Settings => Files and directories' in the 'Ignore files' field.
I want to prevent searching the 'media' folder and its subfolders (where are a bunch of subfolders and files, but only pdfs and images - I assume no hits there!)
But when I use the 'Search in files' function, the 'media' folders are also checked. And yes, I could exclude '*.jpg'... '*.pdf' but then some 'index.php' will nevertheless checked.
Do I something wrong or is the exclusion of folders and subfolders impossible in that way?
Looking forward to get some hints to succeed with that.
Kind regards from Potsdam (Germany)
Knut
Posted by: pspad | Date: 2020-11-13 18:32 | IP: IP Logged
Adx media. to excluded filed, not the whole path
Posted by: knulo | Date: 2020-11-13 18:40 | IP: IP Logged
Hi Jan,
boah! Thumbs up for the quick response!
But sorry: that does also not work:
.cvsignore;vssver.scc;.git;media
Or do I get you wrong?
EDIT:
Yes - i missed the dot at the end! Now it works fine - thank you!
Regards
Knut
Edited 1 time(s). Last edit at 2020-11-13 18:42 by knulo.
Posted by: pspad | Date: 2020-11-13 19:07 | IP: IP Logged
Hello
Put please dot after media as I mentioned:
.cvsignore;vssver.scc;.git;media.
P.S. You found it yourself
Edited 1 time(s). Last edit at 2020-11-13 19:08 by pspad.
Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR