The UNIX and Linux Forums  

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 -->
  #4 (permalink)  
Old 05-29-2007
ennstate ennstate is offline
Registered User
  
 

Join Date: Mar 2007
Location: Chennai
Posts: 222
Quote:
Originally Posted by blane
Thanks for the reply.

When I run that I'm getting an error which says:

syntax error near unexpected token `('

If I take out the
Code:
-exec rm () \;

then it works fine to find the files.
I guess you have misspelled it is {} and not ()

Thanks
Nagarajan Ganesan.