How To: Search a Directory Without Entering Sub-Directories
search cancel

How To: Search a Directory Without Entering Sub-Directories

book

Article ID: 289336

calendar_today

Updated On:

Products

Carbon Black Cloud Endpoint Standard (formerly Cb Defense)

Issue/Introduction

How to search for a file in a specific directory without searching sub directories

Environment

  • Carbon Black Cloud Console: All Supported Versions

Resolution

To exclude searching from a sub directory so to only search a specific folder regex can be used
process_name:/c\:\/users\/[^\/]+\/appdata\/local\/[^\/]+/