A few examples when you need to find files. I’ll update as I go.

This one is for searching multiple snapshot locations for a file named like:

find *snapshot-name*/known/path/to/data -iname "case_insensitive_part_of_name*"

The next is to find and replace permission on all text files:

find . -type f -name *.txt -exec chmod 644 {} \;
Useful FIND examples
Tagged on:

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.