Use the `-not` with `find`.
```
find . -not -name "*.json"
```
I used this to count the number of images (roughly) in a Google Takeout:
```
find . -not -name "*.json" | wc -l
```
Source: https://stackoverflow.com/a/1342110
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
For example, I want to search a directory tree for everything that does not end in
.json.Use the
-notwithfind.I used this to count the number of images (roughly) in a Google Takeout:
Source: https://stackoverflow.com/a/1342110