Tag Info

Hot answers tagged


the answer from Poisson Aerohead is basically good , with a small modification that we have better use NULL as filename delimetre . to do this in one command we just change the -print to the -delete . be careful the -delete switch have to be the last switch , or files get deleted before they are checked against other remaining switches . find ...


Also short and sweet: cat list | xargs rm This assumes that you have a file named 'list' of all the malicious .php files and that you are in the directory containing the .php files (just to be clear, but I bet you already understood that). If any of the filenames contain newlines, this will be dangerous to run, particularly because you already know they ...

Only top voted, non community-wiki answers of a minimum length are eligible