Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!rpi!uupsi!sunic!news.funet.fi!uwasa.fi!ts From: ts@uwasa.fi (Timo Salmi) Newsgroups: comp.os.msdos.misc Subject: Re: how do you do this? Message-ID: <1991Mar2.074840.27415@uwasa.fi> Date: 2 Mar 91 07:48:40 GMT References: <1991Feb27.072015.7027@ucselx.sdsu.edu> <17403@milton.u.washington.edu> Organization: University of Vaasa Lines: 33 In article <17403@milton.u.washington.edu> roger@wrq.com (Roger Fulton) writes: >In article <1991Feb27.072015.7027@ucselx.sdsu.edu> butler@saturn.sdsu.edu (Michael Butler) writes: >>Hi there folks; >> >>Does anyone know how to do the following in a msdos environment? >>find . -name '*.bak' -exec rm {} ; > >Get the excellent DEL replacement PDELETE from >wuarchive.wustl.edu in /mirrors/msdos/dirutl/pdel42.zip. Quite right. Another of the many solutions is using sweep.com: sweep del *.bak which performs the operation on the default directory and the whole tree below it. This has a similar advantage as the original question's Unix find command, that you can sweep with commands other than del (vs rm) if you so wish. Sweep.com is included in /pc/pcmag/vol4n24.zip at our site. The wares are available by anonymous ftp from garbo.uwasa.fi, Vaasa, Finland, 128.214.12.37, or by using our mail server (use the latter if, and only if you don't have anonymous ftp). If you are not familiar with anonymous ftp or mail servers, I am prepared to send prerecorded instructions on request. (If you don't get the instructions from me within a few days, it will mean that your email address cannot be reached by a simple email reply. Contact your system manager for devicing a proper mail path for you, because unless you do, you wouldn't be able to utilize the mail server anyway.) ................................................................... Prof. Timo Salmi Moderating at garbo.uwasa.fi anonymous ftp archives 128.214.12.37 School of Business Studies, University of Vaasa, SF-65101, Finland Internet: ts@chyde.uwasa.fi Funet: gado::salmi Bitnet: salmi@finfun