Find

From Wiki

Jump to: navigation, search

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".


Personal tools