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/07/09 15:05] mslinux:filesystem:find [2024/07/09 15:08] (current) ms
Line 15: Line 15:
 <code> <code>
 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 \) -not -path "./old/*" -not -path "./tmp/*" -exec tar -rvf /media/ramdisk/books.tar {} \;
 </code> </code>
  
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