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

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -