linux:filesystem:find
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
linux:filesystem:find [2024/02/12 13:38] – created ms | linux:filesystem:find [2024/07/09 15:08] (current) – ms | ||
---|---|---|---|
Line 3: | Line 3: | ||
< | < | ||
find . -type f -mtime +5 -exec ls -l {} ';' | find . -type f -mtime +5 -exec ls -l {} ';' | ||
+ | </ | ||
+ | Älter als n Tage und alle löschen | ||
+ | < | ||
+ | find . -type f -mtime +5 -exec rm -f {} ';' | ||
+ | </ | ||
+ | Deteien nach Größe auflisten | ||
+ | < | ||
+ | find . -ls | sort -n -k7 | ||
+ | </ | ||
+ | Deteien zu einem TAR packen | ||
+ | < | ||
+ | find . -type f -name " | ||
+ | |||
+ | find . -type f \( -iname \*.pdf -o -iname \*.epub -o -iname \*.djvu \) -not -path " | ||
</ | </ | ||
linux/filesystem/find.1707741526.txt.gz · Last modified: 2024/02/12 13:38 by ms