linux:find
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:find [2024/10/08 22:48] – Wuff | linux:find [2025/05/19 12:15] (current) – [Recursively changing extension] Wuff | ||
|---|---|---|---|
| Line 74: | Line 74: | ||
| find . -type f -name " | find . -type f -name " | ||
| </ | </ | ||
| + | |||
| + | Recursive file renaming extension (e.g. from " | ||
| + | < | ||
| + | find . -type f -name ' | ||
| + | </ | ||
| + | |||
| Move files in subdirectories to other directory while retaining directory structure | Move files in subdirectories to other directory while retaining directory structure | ||
| Line 105: | Line 111: | ||
| < | < | ||
| find . -type f -name " | find . -type f -name " | ||
| + | |||
| + | find . -type f -name ' | ||
| + | </ | ||
| + | |||
| + | ====== Recursively delete empty directories ====== | ||
| + | < | ||
| + | find . -type d -empty -delete | ||
| </ | </ | ||
linux/find.1728424128.txt.gz · Last modified: by Wuff