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
linux:filesystem:find [2024/07/09 15:06] mslinux:filesystem:find [2024/07/09 15:08] (current) ms
Line 16: Line 16:
 find . -type f -name "*.pdf" -not -path "./old/*" -not -path "./tmp/*" -exec tar -rvf /media/ramdisk/files-pdf.tar {} \; 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 -o -iname \*.mobi \) -not -path "./old/*" -not -path "./tmp/*" -exec tar -rvf /media/ramdisk/books.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.1720530386.txt.gz · Last modified: 2024/07/09 15:06 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