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/07/04 17:44] – Wulf Rajek | linux:find [2025/02/11 21:14] (current) – Wulf Rajek | ||
---|---|---|---|
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 100: | Line 106: | ||
< | < | ||
du -hd1 | sort -h | du -hd1 | sort -h | ||
+ | </ | ||
+ | |||
+ | ====== Recursively changing extension ====== | ||
+ | < | ||
+ | find . -type f -name " | ||
+ | </ | ||
+ | |||
+ | ====== Recursively delete empty directories ====== | ||
+ | < | ||
+ | find . -type d -empty -delete | ||
</ | </ |
linux/find.1720111440.txt.gz · Last modified: 2024/07/04 17:44 by Wulf Rajek