![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Lots of questions about linux. | Methal | Linux | 1 | 04-25-2008 08:06 AM |
| Deleting Files | bc4 | UNIX for Dummies Questions & Answers | 1 | 01-25-2007 07:27 PM |
| Deleting files | BG_JrAdmin | SUN Solaris | 1 | 11-28-2006 09:17 PM |
| Lots of file copyingand renaming? | AeroEngy | UNIX for Dummies Questions & Answers | 12 | 08-03-2005 06:59 PM |
| Deleting the files | livetaurean19 | Shell Programming and Scripting | 0 | 06-16-2005 01:16 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
If I want to keep just a few (non-huge) files and delete the rest then I often move the ones to be kept into another directory, rm * those left and then move the other files back. It has the advantage of letting you list the files to be kept to check that they are all there before doing anything irrevocable!
If the number of files to delete is small then you could use "rm -i *" and be prompted to confirm each file is to be deleted. cheers |
| Forum Sponsor | ||
|
|