If I have a list of filenames in a text file that I want to exclude when I run find, how can I do that? For example, I want to do something like:
find
fi
find /var/www/test/ -type f \( -iname "*.*" ! -iname "*.php" ! -iname "*.jpg" ! -iname "*.png" \)
The above command gives list of all files excluding files with .php, .jpg ang .png extension. This command works for me in putty.