Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.mac.system > #72017
| From | Jolly Roger <jollyroger@pobox.com> |
|---|---|
| Newsgroups | comp.sys.mac.system, comp.sys.mac.apps |
| Subject | Re: "extra" files seen in VW infotainment system |
| Date | 2015-03-24 21:59 +0000 |
| Organization | People for the Ethical Treatment of Pirates |
| Message-ID | <cne51fFfrmvU1@mid.individual.net> (permalink) |
| References | <merlmf$ntf$1@dont-email.me> <cndav3F8e8sU1@mid.individual.net> <cndc50F8e8sU4@mid.individual.net> <slrnmh3lhd.1u5.g.kreme@kreme.eternal-september.org> |
Cross-posted to 2 groups.
On 2015-03-24, Lewis <g.kreme@gmail.com.dontsendmecopies> wrote:
> Okay, so one time? In band camp? Jolly Roger <jollyroger@pobox.com> was all, like:
>
>> find . -name "._*" -print -exec rm -rf "{}" \;
>
> Why -exec? why -print?
>
> find /Volumes/SD -name "._*" -delete
The print is there to print the files as they are processed, obviously.
Whenever doing anything that destroys data, I tend to err on the side of
caution and be as verbose as possible.
The -delete switch cannot delete directories - only files. It's
certainly not needed in this situation, but isn't going to hurt anything
either. Like I said, I originally copied the wrong alias which was
written for something else. Then I quickly replied to correct it.
Feel free to modify the command to your heart's content. : )
--
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
Back to comp.sys.mac.system | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
"extra" files seen in VW infotainment system David Fritzinger <email@domain.com> - 2015-03-24 08:36 -0400
Re: "extra" files seen in VW infotainment system David Fritzinger <email@domain.com> - 2015-03-24 09:38 -0400
Re: "extra" files seen in VW infotainment system Jolly Roger <jollyroger@pobox.com> - 2015-03-24 14:44 +0000
Re: "extra" files seen in VW infotainment system Jolly Roger <jollyroger@pobox.com> - 2015-03-24 14:34 +0000
Re: "extra" files seen in VW infotainment system Jolly Roger <jollyroger@pobox.com> - 2015-03-24 14:54 +0000
Re: "extra" files seen in VW infotainment system Jolly Roger <jollyroger@pobox.com> - 2015-03-24 15:19 +0000
Re: "extra" files seen in VW infotainment system Lewis <g.kreme@gmail.com.dontsendmecopies> - 2015-03-24 21:24 +0000
Re: "extra" files seen in VW infotainment system Jolly Roger <jollyroger@pobox.com> - 2015-03-24 21:59 +0000
Re: "extra" files seen in VW infotainment system nmassello@yahoo.com (Neill Massello) - 2015-03-24 13:11 -0600
Re: "extra" files seen in VW infotainment system David Fritzinger <email@domain.com> - 2015-03-24 15:41 -0400
csiph-web