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 -->
  #3 (permalink)  
Old 05-27-2009
Jayaram.Nambura Jayaram.Nambura is offline
Registered User
  
 

Join Date: May 2009
Posts: 2
Thanks for your help.

I have checked the shell script and it is fine.

I am having a shell script name test.sh
and it contains only one line which is
find /apps/qualdb/gpcn/scripts/cab_outbound/archive -name 'z*' -mtime +28 -exec rm {} \;

and when i am running using ksh test.sh it is showing exception as find: missing argument to `-exec'


the same thing when i am running in command prompt it is working fine.



Is there is any way to attach the file in this forum so that i can attcah the screen shot of whet i am trying.