ubuntu find file except name code example
Example 1: ubuntu find file except name
#Find all .dot files but ignore .htaccess file:
find . -type f \( -iname ".*" ! -iname ".htaccess" \)
Example 2: ubuntu find file except name
#Find all .dot files but ignore .htaccess file:
find . -type f \( -iname ".*" ! -iname ".htaccess" \)