The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 07-10-2007
bmkreddy bmkreddy is offline
Registered User
  
 

Join Date: Apr 2007
Posts: 8
How to delete Directory and inside files using Find command

I am using the following Command to delete Directory with contents. But this command is deleting inside files only not directories. is there any change need in my command?

find -type f -mtime +3 -exec rm -r {} \;


Thanks