Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!snorkelwacker.mit.edu!mit-eddie!media-lab!garp!henry From: henry@garp.mit.edu (Henry Mensch) Newsgroups: comp.os.msdos.misc Subject: Re: how do you do this? Message-ID: <5388@media-lab.MEDIA.MIT.EDU> Date: 27 Feb 91 20:02:15 GMT References: <1991Feb27.072015.7027@ucselx.sdsu.edu> <1991Feb27.154923.28267@ux1.cso.uiuc.edu> Sender: news@media-lab.MEDIA.MIT.EDU Reply-To: henry@GARP.MIT.EDU (Henry Mensch) Organization: MIT Project Athena External Relations Lines: 20 mcdonald@aries.scs.uiuc.edu (Doug McDonald) 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 {} ; |> > |> |> It might be helpful to state what you want to do. The above is |> utterly incomprehensible. Use words. that's easy: he wants to find all the files with the suffix .bak under the current directory (and its directories) and execute an arbitrary command (in this case, "rm {filename_here}"). -- # Henry Mensch / / E40-379 MIT, Cambridge, MA # / / # via X.400: S=mensch; OU=informatik; P=tu-muenchen; A=dbp; C=de