Michael Rasmussen wrote: > On Fri, Oct 08, 2010 at 09:09:46AM -0500, Fred James wrote: > >> Rich Shepard >> One way would be to ... >> (a) cp all files except the 'unwanted' ones to a new (temporary) >> directory outside of their current directory >> (b) rm -rf the directory in which the 'unwanted' files reside >> (c) mkdir the deleted directory again >> (d) mv all those 'good' files to the recreated directory >> (e) rm -rf the temporary directory that you made in step 'a' >> ... there are other ways, of course >> > > rm -i * with a lot of n key pressing is much easier. > modify * to get smaller list to work from Yes, that can be easier, if it works ... but in the rare case that it doesn't, then the long way around does ... or at least it always has for me, so far.
As mentioned in a post by Ewan, it may be something that needs the application of 'fsck', in which case the procedure above may get ride of th file(s), but not the problem? Regard Fred James _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
