Delet multiple files with same name via SSH -
i in public_html dir , when executing
rm filename.php
it removes file in public_html dir ,
but in on 80 sub dirs have , need remove same file .
what command that?
assuming qualified name of directory, how about:
find /var/public_html -name "filename.php" -exec rm -rf {} \;
Comments
Post a Comment