Search file using name
find -name "*.php" -printf "%s %p\n"
Search file using name and delete (be carefull while run this command, it is cannot undone)
find -name “*.php” -printf “%s %p\n” -delete
Search file using name and count number of file
find -name “index.php” -printf “%s %p\n” | wc -l
Discover more from Soa Technology | Aditya Website Development Designing Company
Subscribe to get the latest posts sent to your email.