Linux find – ignore case in name

When using linux find, -iname can be used to match name pattern and ignore case (case insensitive).

$ fine . -iname "pattern"

Example

Find all files beginning with A or a

$ find . -iname "A*" -type f
Share this article: share on Google+ share on facebook share on linkedin tweet this submit to reddit

Comments

Click here to write/view comments