![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| searching files inside directory | kylethesir | UNIX for Dummies Questions & Answers | 4 | 06-06-2008 01:44 AM |
| How to see directory and the files inside it. | shaan_dmp | UNIX for Advanced & Expert Users | 4 | 12-17-2007 05:48 AM |
| unix command/s to find files older than 2 hours in a directory | Presanna | Shell Programming and Scripting | 6 | 11-20-2007 09:22 AM |
| awk command to find the count of files ina directory | sish78 | Shell Programming and Scripting | 11 | 07-19-2007 08:00 AM |
| Help Using Grep command to Find the string in the files in the root directory | Subbu_Angeline | AIX | 3 | 01-17-2007 01:45 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
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 |
|
||||
|
I got solution for this one i need to change my command like this
find -type d -mtime +3 -exec rm -r {} \; Or find -mtime +3 -exec rm -r {} \; Thanks |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Tags |
| delete directory |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|