Thread
:
Linux find and delete files
View Single Post
#
2
(
permalink
)
12-20-2006, 04:51 AM
nixcraft
Never say die
User
Join Date: Jan 2005
Location: BIOS
My distro: Ubuntu
Posts: 1,061
Rep Power:
10
Use find command
Code:
find . -name "FILE-TO-FIND"-exec rm -rf {} \;
Find all *.exe file and remove them
Code:
find . -name "*.exe"-exec rm -rf {} \;
See our FAQ for more info
http://www.cyberciti.biz/faq/linux-u...-remove-files/
__________________
Vivek
|
My personal blog
Linux Evangelist
Play hard stay cool
nixcraft
View Public Profile
Send a private message to nixcraft
Visit nixcraft's homepage!
Find all posts by nixcraft