Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!usc!rpi!crdgw1!uunet!stanford.edu!msi.umn.edu!cs.umn.edu!ianhogg From: ianhogg@cs.umn.edu (Ian J. Hogg) Newsgroups: comp.os.msdos.misc Subject: Re: how do you do this? Message-ID: <1991Mar10.005030.2697@cs.umn.edu> Date: 10 Mar 91 00:50:30 GMT References: <1991Feb28.082345.11807@novell.com> Organization: University of Minnesota, Minneapolis, CSci dept. Lines: 28 In article <1991Feb28.082345.11807@novell.com> tporczyk@na.excelan.com (Tony Porczyk) writes: >The News Manager) >Nntp-Posting-Host: na >Reply-To: tporczyk@na.excelan.com (Tony Porczyk) >Organization: Standard Disclaimer >References: <1991Feb27.072015.7027@ucselx.sdsu.edu> <1991Feb27.154923.28267@ux1.cso.uiuc.edu> >Date: Thu, 28 Feb 1991 08:23:45 GMT > >In article <1991Feb27.072015.7027@ucselx.sdsu.edu> butler@saturn.sdsu.edu (Michael Butler) writes: >>Does anyone know how to do the following in a msdos environment? >>find . -name '*.bak' -exec rm {} ; > >There is a utility "SWEEP". I believe it is a PC Magazine or PC Computing >utility (not sure, though). Go into the directory from which you want >to delete all the bak files down through all sub-directories, and type >SWEEP DEL *.BAK >That will take care of it. > >Tony With the GNUish DOS programs I can use the following command: find . -name '*.bak' -exec rm {} ; -- =============================================================================== Ian Hogg ianhogg@cs.umn.edu (612) 225-1401