User Tools

Site Tools


linux:filesystem:find

This is an old revision of the document!


Dateien suchen

Älter als n Tage und alle auflisten

find . -type f -mtime +5 -exec ls -l {} ';'    # älter als 5 Tage

Älter als n Tage und alle löschen

find . -type f -mtime +5 -exec rm -f {} ';'    # älter als 5 Tage

Deteien nach Größe auflisten

find . -ls | sort -n -k7

Deteien zu einem TAR packen

find . -type f -name "*.pdf" -not -path "./old/*" -not -path "./tmp/*" -exec tar -rvf /media/ramdisk/files-pdf.tar {} \;
linux/filesystem/find.1720530337.txt.gz · Last modified: 2024/07/09 15:05 by ms

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki