find tips

Published: Sunday, Jul 27, 2008 Last modified: Thursday, Nov 14, 2024

find must be one of those archaic unix commands. It takes years to master.

find /mnt/sd -type f -iname "*.thm" -o -iname "*.jpg"

This commands finds files in /mnt/sd that have either the .thm or .jpg extension.