How to exclude a folder in sublime Search for a Directory?

How to exclude a folder in sublime Search for a Directory?

You can exclude .deploy or .meteor folder while searching in a directory
or exclude any folder which you want from a directory


To exclude follow these point
 

Add -(Dash) in the starting of your directory
Add *(asterisk) after your folder which you want to exclude

Press Ctrl+shift+F

put the example string in Where text box where you have mention your searching directory


Example:
/home/sagar/Desktop/mywork, -/home/sagar/Desktop/
mywork/.deploy/*, -/home/sagar/Desktop/mywork/.trash/*


Above example show that sublime will search a keyword inside mywork directory but will exclude .deploy and .trash folder from directory

Comments