Path: csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Jolly Roger Newsgroups: comp.sys.mac.system Subject: Re: Being nice to bad software Date: 25 Aug 2016 06:00:51 GMT Lines: 41 Message-ID: References: <240820161925168760%JimSGibson@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net k2c3B670kb7qpeLcqySFag+bFIkvzNMS2RAJtzPPnGzSx4IMBt Cancel-Lock: sha1:4DcW/wx/wtKkHwtsYBnNkUTAK+Q= sha1:IpfAiGf6FB6FJ1PtjaFEa020c6M= User-Agent: NewsTap/5.1.8 (iPhone/iPod Touch) Xref: csiph.com comp.sys.mac.system:93957 Siri Cruise wrote: > In article , > Jolly Roger wrote: > >> Siri Cruise wrote: >>> In article <240820161925168760%JimSGibson@gmail.com>, >>> Jim Gibson wrote: >>> >>>> In article , Jolly Roger >>>> wrote: >>>> >>>>> That's incredibly silly. You're doing it wrong. First you run this >>>>> command: >>>>> >>>>> find ~/Library -iname '*flash*' -o -iname '*swf*' 2>/dev/null >>>>> >>>>> Then after you have inspected the output and verified that it is >>>>> satisfactory, you simply add the -exec switch to remove the files: >>>>> >>>>> find ~/Library -iname '*flash*' -o -iname '*swf*' -exec rm -rf {} >>>>> 2>/dev/null >>>> >>>> You can also use the -delete option to find: >>>> >>>> find ~/Library -iname '*flash*' -o -iname '*swf*' -delete >>> >>> And goodbye to my Flash Gordon save games. Sure. >> >> You are being incredibly silly. First refine the find command without the >> -delete switch so that it outputs the actually files you want, then add the >> -delete switch. Simple. > > So much easier than copy/paste into ''. Yup. Use the best tool for the job. -- E-mail sent to this address may be devoured by my ravenous SPAM filter. I often ignore posts from Google. Use a real news client instead. JR