The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 10-09-2006
msubbums msubbums is offline
Registered User
  
 

Join Date: Feb 2006
Posts: 7
use the script

Hi,

use grep -v option before u run rm command

find arg|grep -v pat -exec rm {} \;


regards
Subbu Malepati