![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| find excluding the hidden files | arunkumar_mca | UNIX for Advanced & Expert Users | 3 | 01-27-2008 07:45 PM |
| Excluding directories with find | x96riley3 | UNIX for Dummies Questions & Answers | 2 | 02-20-2007 09:09 AM |
| how to find a file named vijay in a directory using find command | amirthraj_12 | UNIX for Dummies Questions & Answers | 5 | 10-25-2006 02:39 PM |
| how to find a corrupted file in a directory | skarthik_d | UNIX for Dummies Questions & Answers | 1 | 07-04-2006 07:45 PM |
| find a file or directory under public_html | milhan | UNIX for Advanced & Expert Users | 4 | 10-23-2002 09:07 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
find excluding a directory and a file
Hi
I have some 5 folders and two files in the current directory. I want to delete all, expect one folder(files in the folder too should not be deleted) and a file in the current directory. Lets say the folder and file that should not be deleted as 'a'(folder name) and 'b'(file name). Can you please give me the find command with delete Thanks in advance Ammu |
| Forum Sponsor | ||
|
|
| Thread Tools | |
| Display Modes | |
|
|