User Tools

Site Tools


find

Find

= Find - search for files =

Typically I used “ls -laR | grep needle” and while it worked, it was limited. Find is much more useful and can be used to create powerful scripts.

find all zip files and unzip them

find . -type f -iname “*zip” -exec unzip '{}' \;

Got from “man find”.


find.txt · Last modified: 2022/07/19 20:13 by 127.0.0.1