User Tools

Site Tools


linux:filesystem:find

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:filesystem:find [2024/02/12 13:43] mslinux:filesystem:find [2024/07/09 15:08] (current) ms
Line 10: Line 10:
 Deteien nach Größe auflisten Deteien nach Größe auflisten
 <code> <code>
-find . -ls|sort -n -k7+find . -ls | sort -n -k7 
 +</code> 
 +Deteien zu einem TAR packen 
 +<code> 
 +find . -type f -name "*.pdf" -not -path "./old/*" -not -path "./tmp/*" -exec tar -rvf /media/ramdisk/files-pdf.tar {} \; 
 + 
 +find . -type f \( -iname \*.pdf -o -iname \*.epub -o -iname \*.djvu \) -not -path "./old/*" -not -path "./tmp/*" -exec tar -rvf /media/ramdisk/books.tar {} \;
 </code> </code>
  
linux/filesystem/find.1707741813.txt.gz · Last modified: 2024/02/12 13:43 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