Skip to content

Commit

Permalink
docs(findingfiles): 📝 Removing files with find example
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisguest75 committed Feb 11, 2024
1 parent 90ae349 commit 97a2f0e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions 24_finding_files/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ find ../ -iname "*.md" -ctime +3

# find all vscode workspace folders for shell_examples
find $HOME/Library/Application\ Support/Code/User/workspaceStorage/ -name "*.json" -print -exec jq . {} \; | grep -A 10 -B 10 'shell_examples"'

# removing artifacts
find ./my-packages -type d -name "dist" -exec rm -rf {} +
find ./my-packages -type f -name "tsbuildinfo" -exec rm {} +
```

## Grep
Expand Down

0 comments on commit 97a2f0e

Please sign in to comment.