Exclude Temp folders

maccra     May 23 12:23PM 2018

Hello, I just want to exclude Temp folders in all directories and subdirectories from the backup in my repository. It should cover temp written in upper case, lower case and mixed case. And only the word temp, folders with temp as part of the folder name eg. Temporary, should be included in the backup.

Which is correct?
-temp/
-*temp/
-*/temp/

Or some other alternative way.

Win 10 x64 Pro

Regards and many thanks.


gchen    May 23 8:15PM 2018

You can use case insensitive regex patterns like this:

e:(?i)/temp/$
e:(?i)^temp/$


maccra    May 23 8:51PM 2018

Thank you very much. I will try them out. I have really no idea how regex syntax patterns work. Looks too complicated for me as a user.