Course lesson
Find matches excluding a pattern with grep
What happens when you want to find things that don't contain a pattern? The -v flag lets you use grep in inverse mode. We'll use grep -v against find's output to exclude files in nodemodules.
- Duration
- 1 min
- Access
- Pro
- Transcript
- Needs source
What happens when you want to find things that don't contain a pattern? The -v flag lets you use grep in inverse mode. We'll use grep -v against find's output to exclude files in node_modules.