This is a discussion on Linux find and delete files within the Linux software forums, part of the Linux Getting Started category; hello friends how to find and delete all files having extension and delete them...
|
|||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| Sponsored Links | ||
|
|
|
||||
|
Use find command
Code:
find . -name "FILE-TO-FIND"-exec rm -rf {} \;
Code:
find . -name "*.exe"-exec rm -rf {} \;
|
|
|||
|
aha I see, I was late to this post not because of the typing speed
But I was answering another post
__________________
LivE Free 0r DiE L!nux rul3z aLL |
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How do I delete copyright protected files? | raj | Getting started tutorials | 5 | 03-25-2008 12:48 AM |
| i need a script to delete one folder with files on my ftp | silver_ch | Shell scripting | 1 | 03-27-2007 10:15 AM |
| delete directory linux | chiku | Linux software | 4 | 07-22-2006 06:56 PM |
| can ext3 securely delete files | Linux software | 1 | 01-11-2006 12:08 PM | |
| find out info. reg. files for each user in the system | ganes | Solaris/OpenSolaris | 6 | 09-20-2005 06:49 PM |