Skip to content

Commit

Permalink
find and delete
Browse files Browse the repository at this point in the history
  • Loading branch information
keineahnung2345 authored Jun 1, 2023
1 parent 01139a3 commit 4415b48
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1321,6 +1321,13 @@ find . -name "<filename>" -exec mv {} "<dst_path>" \;
```sh
find . -name "<filename>" -exec cp {} "<dst_path>" \;
```

### find and delete

```sh
find . -name "<filename>" -exec rm {} \;
```

### find and remove extension
[find exec and strip extension from filenames](https://stackoverflow.com/questions/46834093/find-exec-and-strip-extension-from-filenames)
```sh
Expand Down

0 comments on commit 4415b48

Please sign in to comment.