Removes all exe files in the current directory tree. Useful to clear virus from flash drives.
find . -name "*.exe" -delete
This entry was posted
on Tuesday, April 15th, 2008 at 10:39 pm and is filed under Command Line, Linux.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
April 26th, 2008 10:58
hi ,
this command not working properly, i need to delete all the .exe file bcz my makefile only delete object file……
April 26th, 2008 21:09
Are you using this in Windows? This command is for linux only.
In windows try something like ‘del *.exe’