Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.mac.system > #93901 > unrolled thread

Being nice to bad software

Started by"Happy.Hobo" <Happy.Hobo@Spam.Invalid>
First post2016-08-24 12:11 -0500
Last post2016-08-25 22:31 +0000
Articles 20 on this page of 153 — 12 participants

Back to article view | Back to comp.sys.mac.system


Contents

  Being nice to bad software "Happy.Hobo" <Happy.Hobo@Spam.Invalid> - 2016-08-24 12:11 -0500
    Re: Being nice to bad software Alan Baker <alangbaker@telus.net> - 2016-08-24 10:26 -0700
      Re: Being nice to bad software JF Mezei <jfmezei.spamnot@vaxination.ca> - 2016-08-24 13:33 -0400
        Re: Being nice to bad software Alan Baker <alangbaker@telus.net> - 2016-08-24 10:47 -0700
          Re: Being nice to bad software "Happy.Hobo" <Happy.Hobo@Spam.Invalid> - 2016-08-24 16:29 -0500
            Re: Being nice to bad software Alan Baker <alangbaker@telus.net> - 2016-08-24 14:44 -0700
              Re: Being nice to bad software "Happy.Hobo" <Happy.Hobo@Spam.Invalid> - 2016-08-24 16:49 -0500
                Re: Being nice to bad software Alan Baker <alangbaker@telus.net> - 2016-08-24 16:33 -0700
                  Re: Being nice to bad software "Happy.Hobo" <Happy.Hobo@Spam.Invalid> - 2016-08-25 11:29 -0500
                    Re: Being nice to bad software Jolly Roger <jollyroger@pobox.com> - 2016-08-25 16:41 +0000
                      Re: Being nice to bad software "Happy.Hobo" <Happy.Hobo@Spam.Invalid> - 2016-08-25 11:53 -0500
                        Re: Being nice to bad software nospam <nospam@nospam.invalid> - 2016-08-25 12:58 -0400
                        Re: Being nice to bad software Jolly Roger <jollyroger@pobox.com> - 2016-08-25 17:09 +0000
                          Re: Being nice to bad software "Happy.Hobo" <Happy.Hobo@Spam.Invalid> - 2016-08-25 13:37 -0500
                            Re: Being nice to bad software Jolly Roger <jollyroger@pobox.com> - 2016-08-25 18:39 +0000
                              Re: Being nice to bad software "Happy.Hobo" <Happy.Hobo@Spam.Invalid> - 2016-08-25 16:05 -0500
                                Re: Being nice to bad software Jolly Roger <jollyroger@pobox.com> - 2016-08-25 21:16 +0000
                        Re: Being nice to bad software Alan Baker <alangbaker@telus.net> - 2016-08-25 11:31 -0700
                          Re: Being nice to bad software "Happy.Hobo" <Happy.Hobo@Spam.Invalid> - 2016-08-25 13:39 -0500
                            Re: Being nice to bad software Jolly Roger <jollyroger@pobox.com> - 2016-08-25 18:40 +0000
                            Re: Being nice to bad software Alan Baker <alangbaker@telus.net> - 2016-08-25 14:11 -0700
                      Re: Being nice to bad software Alan Baker <alangbaker@telus.net> - 2016-08-25 11:34 -0700
                      Re: Being nice to bad software JF Mezei <jfmezei.spamnot@vaxination.ca> - 2016-08-28 15:26 -0400
                        Re: Being nice to bad software Jolly Roger <jollyroger@pobox.com> - 2016-08-29 01:08 +0000
                    Re: Being nice to bad software Alan Baker <alangbaker@telus.net> - 2016-08-25 09:49 -0700
          Re: Being nice to bad software JF Mezei <jfmezei.spamnot@vaxination.ca> - 2016-08-25 11:09 -0400
            Re: Being nice to bad software Alan Baker <alangbaker@telus.net> - 2016-08-25 08:15 -0700
              Re: Being nice to bad software JF Mezei <jfmezei.spamnot@vaxination.ca> - 2016-08-25 11:22 -0400
                Re: Being nice to bad software Alan Baker <alangbaker@telus.net> - 2016-08-25 08:28 -0700
                Re: Being nice to bad software Jolly Roger <jollyroger@pobox.com> - 2016-08-25 15:32 +0000
                  Re: Being nice to bad software JF Mezei <jfmezei.spamnot@vaxination.ca> - 2016-08-28 15:23 -0400
                    Re: Being nice to bad software Alan Baker <alangbaker@telus.net> - 2016-08-28 12:27 -0700
        Re: Being nice to bad software Jolly Roger <jollyroger@pobox.com> - 2016-08-24 19:42 +0000
          Re: Being nice to bad software "Happy.Hobo" <Happy.Hobo@Spam.Invalid> - 2016-08-24 16:31 -0500
            Re: Being nice to bad software Alan Baker <alangbaker@telus.net> - 2016-08-24 14:44 -0700
            Re: Being nice to bad software Jolly Roger <jollyroger@pobox.com> - 2016-08-25 01:33 +0000
              Re: Being nice to bad software nmassello@yahoo.com (Neill Massello) - 2016-08-24 20:58 -0600
                Re: Being nice to bad software Jolly Roger <jollyroger@pobox.com> - 2016-08-25 15:29 +0000
                  Re: Being nice to bad software "Happy.Hobo" <Happy.Hobo@Spam.Invalid> - 2016-08-25 11:32 -0500
                    Re: Being nice to bad software Jolly Roger <jollyroger@pobox.com> - 2016-08-25 16:50 +0000
                      Re: Being nice to bad software "Happy.Hobo" <Happy.Hobo@Spam.Invalid> - 2016-08-25 13:22 -0500
                        Re: Being nice to bad software Alan Baker <alangbaker@telus.net> - 2016-08-25 11:28 -0700
                        Re: Being nice to bad software Jolly Roger <jollyroger@pobox.com> - 2016-08-25 18:38 +0000
                          Re: Being nice to bad software "Happy.Hobo" <Happy.Hobo@Spam.Invalid> - 2016-08-25 16:07 -0500
                        Re: Being nice to bad software nospam <nospam@nospam.invalid> - 2016-08-25 17:22 -0400
                    Re: Being nice to bad software Alan Baker <alangbaker@telus.net> - 2016-08-25 10:52 -0700
                      Re: Being nice to bad software "Happy.Hobo" <Happy.Hobo@Spam.Invalid> - 2016-08-25 13:25 -0500
                        Re: Being nice to bad software Alan Baker <alangbaker@telus.net> - 2016-08-25 11:28 -0700
                  Re: Being nice to bad software JF Mezei <jfmezei.spamnot@vaxination.ca> - 2016-08-28 15:21 -0400
                    Re: Being nice to bad software Alan Baker <alangbaker@telus.net> - 2016-08-28 12:26 -0700
                      Re: Being nice to bad software JF Mezei <jfmezei.spamnot@vaxination.ca> - 2016-08-28 20:40 -0400
                        Re: Being nice to bad software Alan Baker <alangbaker@telus.net> - 2016-08-28 18:11 -0700
                        Re: Being nice to bad software Lewis <g.kreme@gmail.com.dontsendmecopies> - 2016-08-29 03:07 +0000
                          Re: Being nice to bad software JF Mezei <jfmezei.spamnot@vaxination.ca> - 2016-08-29 05:51 -0400
                            Re: Being nice to bad software Lewis <g.kreme@gmail.com.dontsendmecopies> - 2016-08-29 13:13 +0000
                            Re: Being nice to bad software Jolly Roger <jollyroger@pobox.com> - 2016-08-29 15:36 +0000
                        Re: Being nice to bad software Jolly Roger <jollyroger@pobox.com> - 2016-08-29 06:19 +0000
                          Re: Being nice to bad software "Happy.Hobo" <Happy.Hobo@Spam.Invalid> - 2016-08-29 11:43 -0500
                            Re: Being nice to bad software Jolly Roger <jollyroger@pobox.com> - 2016-08-29 16:55 +0000
                              Re: Being nice to bad software "Happy.Hobo" <Happy.Hobo@Spam.Invalid> - 2016-08-29 14:39 -0500
                                Re: Being nice to bad software Jolly Roger <jollyroger@pobox.com> - 2016-08-29 19:57 +0000
                            Re: Being nice to bad software Alan Baker <alangbaker@telus.net> - 2016-08-29 10:40 -0700
                    Re: Being nice to bad software Lewis <g.kreme@gmail.com.dontsendmecopies> - 2016-08-29 03:05 +0000
            Re: Being nice to bad software Lewis <g.kreme@gmail.com.dontsendmecopies> - 2016-08-25 22:41 +0000
              Re: Being nice to bad software "Happy.Hobo" <Happy.Hobo@Spam.Invalid> - 2016-08-28 23:33 -0500
                Re: Being nice to bad software Jolly Roger <jollyroger@pobox.com> - 2016-08-29 16:03 +0000
                  Re: Being nice to bad software "Happy.Hobo" <Happy.Hobo@Spam.Invalid> - 2016-08-29 11:46 -0500
                    Re: Being nice to bad software Jolly Roger <jollyroger@pobox.com> - 2016-08-29 17:02 +0000
                      Re: Being nice to bad software "Happy.Hobo" <Happy.Hobo@Spam.Invalid> - 2016-08-29 14:40 -0500
                        Re: Being nice to bad software Jolly Roger <jollyroger@pobox.com> - 2016-08-29 19:57 +0000
                          Re: Being nice to bad software "Happy.Hobo" <Happy.Hobo@Spam.Invalid> - 2016-08-31 13:46 -0500
                            Re: Being nice to bad software Jolly Roger <jollyroger@pobox.com> - 2016-08-31 19:11 +0000
                            Re: Being nice to bad software Don Bruder <dakidd@sonic.net> - 2016-08-31 13:46 -0700
                              Re: Being nice to bad software Jolly Roger <jollyroger@pobox.com> - 2016-08-31 23:56 +0000
                                Re: Being nice to bad software JF Mezei <jfmezei.spamnot@vaxination.ca> - 2016-09-01 00:34 -0400
                                  Re: Being nice to bad software Alan Baker <alangbaker@telus.net> - 2016-08-31 21:43 -0700
                                  Re: Being nice to bad software Jolly Roger <jollyroger@pobox.com> - 2016-09-01 15:49 +0000
                                    Re: Being nice to bad software JF Mezei <jfmezei.spamnot@vaxination.ca> - 2016-09-01 13:02 -0400
                                      Re: Being nice to bad software Jolly Roger <jollyroger@pobox.com> - 2016-09-01 17:42 +0000
                                        Re: Being nice to bad software JF Mezei <jfmezei.spamnot@vaxination.ca> - 2016-09-01 13:50 -0400
                                          Re: Being nice to bad software Jolly Roger <jollyroger@pobox.com> - 2016-09-01 18:05 +0000
                                          Re: Being nice to bad software Alan Baker <alangbaker@telus.net> - 2016-09-01 15:03 -0700
                                            Re: Being nice to bad software nmassello@yahoo.com (Neill Massello) - 2016-09-01 17:25 -0600
                                          Re: Being nice to bad software Lewis <g.kreme@gmail.com.dontsendmecopies> - 2016-09-02 16:21 +0000
                                      Re: Being nice to bad software Lewis <g.kreme@gmail.com.dontsendmecopies> - 2016-09-02 16:06 +0000
                              Re: Being nice to bad software Alan Baker <alangbaker@telus.net> - 2016-08-31 17:22 -0700
                              Re: Being nice to bad software Lewis <g.kreme@gmail.com.dontsendmecopies> - 2016-09-01 03:19 +0000
                              Re: Being nice to bad software "Happy.Hobo" <Happy.Hobo@Spam.Invalid> - 2016-09-02 01:25 -0500
          Re: Being nice to bad software Siri Cruise <chine.bleu@yahoo.com> - 2016-08-24 15:15 -0700
            Re: Being nice to bad software Jolly Roger <jollyroger@pobox.com> - 2016-08-25 01:51 +0000
              Re: Being nice to bad software Siri Cruise <chine.bleu@yahoo.com> - 2016-08-24 21:53 -0700
                Re: Being nice to bad software Jolly Roger <jollyroger@pobox.com> - 2016-08-25 05:02 +0000
        Re: Being nice to bad software Tim Streater <timstreater@greenbee.net> - 2016-08-24 23:39 +0100
          Re: Being nice to bad software "Happy.Hobo" <Happy.Hobo@Spam.Invalid> - 2016-08-25 11:40 -0500
            Re: Being nice to bad software Alan Baker <alangbaker@telus.net> - 2016-08-25 09:45 -0700
            Re: Being nice to bad software Jolly Roger <jollyroger@pobox.com> - 2016-08-25 17:04 +0000
              Re: Being nice to bad software Jolly Roger <jollyroger@pobox.com> - 2016-08-25 17:14 +0000
                Re: Being nice to bad software JF Mezei <jfmezei.spamnot@vaxination.ca> - 2016-08-28 15:30 -0400
                  Re: Being nice to bad software Jolly Roger <jollyroger@pobox.com> - 2016-08-29 01:10 +0000
        Re: Being nice to bad software Calum <com.gmail@nospam.scottishwildcat> - 2016-08-25 12:25 +0100
        Re: Being nice to bad software Lewis <g.kreme@gmail.com.dontsendmecopies> - 2016-08-25 22:39 +0000
          Re: Being nice to bad software "Happy.Hobo" <Happy.Hobo@Spam.Invalid> - 2016-08-28 23:36 -0500
        Re: Being nice to bad software Jolly Roger <jollyroger@pobox.com> - 2016-09-01 00:36 +0000
      Re: Being nice to bad software Jolly Roger <jollyroger@pobox.com> - 2016-08-24 19:38 +0000
        Re: Being nice to bad software "Happy.Hobo" <Happy.Hobo@Spam.Invalid> - 2016-08-24 16:33 -0500
          Re: Being nice to bad software Alan Baker <alangbaker@telus.net> - 2016-08-24 14:45 -0700
            Re: Being nice to bad software "Happy.Hobo" <Happy.Hobo@Spam.Invalid> - 2016-08-24 16:50 -0500
              Re: Being nice to bad software Alan Baker <alangbaker@telus.net> - 2016-08-24 16:33 -0700
              Re: Being nice to bad software Jolly Roger <jollyroger@pobox.com> - 2016-08-25 02:15 +0000
            Re: Being nice to bad software Siri Cruise <chine.bleu@yahoo.com> - 2016-08-24 15:35 -0700
              Re: Being nice to bad software Jolly Roger <jollyroger@pobox.com> - 2016-08-25 01:54 +0000
                Re: Being nice to bad software Jim Gibson <JimSGibson@gmail.com> - 2016-08-24 19:25 -0700
                  Re: Being nice to bad software Jolly Roger <jollyroger@pobox.com> - 2016-08-25 02:28 +0000
                  Re: Being nice to bad software Siri Cruise <chine.bleu@yahoo.com> - 2016-08-24 21:53 -0700
                    Re: Being nice to bad software Jolly Roger <jollyroger@pobox.com> - 2016-08-25 05:02 +0000
                      Re: Being nice to bad software Siri Cruise <chine.bleu@yahoo.com> - 2016-08-24 22:44 -0700
                        Re: Being nice to bad software Jolly Roger <jollyroger@pobox.com> - 2016-08-25 06:00 +0000
                        Re: Being nice to bad software Lewis <g.kreme@gmail.com.dontsendmecopies> - 2016-08-25 22:37 +0000
                Re: Being nice to bad software Siri Cruise <chine.bleu@yahoo.com> - 2016-08-24 21:52 -0700
                  Re: Being nice to bad software Alan Baker <alangbaker@telus.net> - 2016-08-24 21:56 -0700
                    Re: Being nice to bad software Siri Cruise <chine.bleu@yahoo.com> - 2016-08-24 22:45 -0700
                  Re: Being nice to bad software Jolly Roger <jollyroger@pobox.com> - 2016-08-25 05:00 +0000
              Re: Being nice to bad software Lewis <g.kreme@gmail.com.dontsendmecopies> - 2016-08-25 22:35 +0000
                Re: Being nice to bad software Siri Cruise <chine.bleu@yahoo.com> - 2016-08-25 16:07 -0700
                  Re: Being nice to bad software Jolly Roger <jollyroger@pobox.com> - 2016-08-25 23:55 +0000
                    Re: Being nice to bad software JF Mezei <jfmezei.spamnot@vaxination.ca> - 2016-08-28 15:57 -0400
                      Re: Being nice to bad software Jolly Roger <jollyroger@pobox.com> - 2016-08-29 01:12 +0000
                      Re: Being nice to bad software Siri Cruise <chine.bleu@yahoo.com> - 2016-08-28 19:19 -0700
                        Re: Being nice to bad software Jolly Roger <jollyroger@pobox.com> - 2016-08-29 06:21 +0000
                  Re: Being nice to bad software Lewis <g.kreme@gmail.com.dontsendmecopies> - 2016-08-26 04:06 +0000
          Re: Being nice to bad software Jolly Roger <jollyroger@pobox.com> - 2016-08-25 01:49 +0000
      Re: Being nice to bad software "Happy.Hobo" <Happy.Hobo@Spam.Invalid> - 2016-08-24 16:25 -0500
        Re: Being nice to bad software Alan Baker <alangbaker@telus.net> - 2016-08-24 14:43 -0700
          Re: Being nice to bad software "Happy.Hobo" <Happy.Hobo@Spam.Invalid> - 2016-08-24 16:51 -0500
            Re: Being nice to bad software Alan Baker <alangbaker@telus.net> - 2016-08-24 16:39 -0700
              Re: Being nice to bad software Jolly Roger <jollyroger@pobox.com> - 2016-08-25 01:47 +0000
                Re: Being nice to bad software "Happy.Hobo" <Happy.Hobo@Spam.Invalid> - 2016-08-25 11:46 -0500
                  Re: Being nice to bad software Jolly Roger <jollyroger@pobox.com> - 2016-08-25 17:11 +0000
                    Re: Being nice to bad software "Happy.Hobo" <Happy.Hobo@Spam.Invalid> - 2016-08-25 13:28 -0500
                      Re: Being nice to bad software Alan Baker <alangbaker@telus.net> - 2016-08-25 11:32 -0700
              Re: Being nice to bad software "Happy.Hobo" <Happy.Hobo@Spam.Invalid> - 2016-08-25 11:45 -0500
                Re: Being nice to bad software Jolly Roger <jollyroger@pobox.com> - 2016-08-25 17:10 +0000
                  Re: Being nice to bad software "Happy.Hobo" <Happy.Hobo@Spam.Invalid> - 2016-08-25 13:29 -0500
                    Re: Being nice to bad software Alan Baker <alangbaker@telus.net> - 2016-08-25 11:33 -0700
                      Re: Being nice to bad software JF Mezei <jfmezei.spamnot@vaxination.ca> - 2016-08-28 15:54 -0400
                        Re: Being nice to bad software Alan Baker <alangbaker@telus.net> - 2016-08-28 12:59 -0700
                Re: Being nice to bad software Alan Baker <alangbaker@telus.net> - 2016-08-25 11:29 -0700
    Re: Being nice to bad software Jolly Roger <jollyroger@pobox.com> - 2016-08-24 19:25 +0000
      Re: Being nice to bad software "Happy.Hobo" <Happy.Hobo@Spam.Invalid> - 2016-08-24 16:34 -0500
        Re: Being nice to bad software Jolly Roger <jollyroger@pobox.com> - 2016-08-25 02:16 +0000
          Re: Being nice to bad software "Happy.Hobo" <Happy.Hobo@Spam.Invalid> - 2016-08-25 11:47 -0500
            Re: Being nice to bad software Jolly Roger <jollyroger@pobox.com> - 2016-08-25 17:11 +0000
    Re: Being nice to bad software Lewis <g.kreme@gmail.com.dontsendmecopies> - 2016-08-25 22:31 +0000

Page 7 of 8 — ← Prev page 1 2 3 4 5 6 [7] 8  Next page →


#93956

FromSiri Cruise <chine.bleu@yahoo.com>
Date2016-08-24 22:45 -0700
Message-ID<chine.bleu-607E62.22445624082016@news.eternal-september.org>
In reply to#93949
In article <npltpg$13h$1@news.datemas.de>, Alan Baker <alangbaker@telus.net> 
wrote:

> On 2016-08-24 9:52 PM, Siri Cruise wrote:
> > In article <e271erF528fU3@mid.individual.net>,
> >  Jolly Roger <jollyroger@pobox.com> wrote:
> >
> >> On 2016-08-24, Siri Cruise <chine.bleu@yahoo.com> wrote:
> >>> In article <npl4ic$jdp$5@news.datemas.de>, Alan Baker
> >>> <alangbaker@telus.net>
> >>> wrote:
> >>>
> >>>> On 2016-08-24 2:33 PM, Happy.Hobo wrote:
> >>>>> On 08-24-2016 14:38, Jolly Roger wrote:
> >>>>>> Yep. You can also drag and drop the file into the terminal window for
> >>>>>> the same
> >>>>>> effect.
> >>>>>
> >>>>> You can't drag and drop the output of 'ls' or 'find' into a later
> >>>>> command without frequently encountering this "non-issue."
> >>>>
> >>>> Why would you use those? Explain what you were actually doing, and I'll
> >>>> be you dollars to donuts that I can do it better.
> >>>
> >>> find ~/Library -iname '*flash*' -o -iname '*swf*' 2>/dev/null
> >>> rm -rf '....' '....'
> >>>
> >>> Manually inspecting the found paths so I don't accidentally delete all my
> >>> flashgordon.savegames folder. Manually inserting the paths into rm -rf is
> >>> safer
> >>> from my fingers than rm -ri.
> >>
> >> 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
> >>
> >> Simple, and no silly copy and paste needed. Mixing command-line and GUI
> >> tools is silly when you can handily do everything you want right on the
> >> command line. Use the right tool for the job.
> >
> > So what you're saying is I either remove Adbobe flash and Flash Gordon or I
> > remove neither.
> 
> No. With a little thought you could work it out, so that...

Already did.

-- 
:-<> Siri Seal of Disavowal #000-001. Disavowed. Denied. Deleted.
'I desire mercy, not sacrifice.'
If you assume the final scene is a dying delusion as Tom Cruise drowns below
the Louvre, then Edge of Tomorrow has a happy ending. Kill Tom repeat..

[toc] | [prev] | [next] | [standalone]


#93950

FromJolly Roger <jollyroger@pobox.com>
Date2016-08-25 05:00 +0000
Message-ID<e27cb0F7eeqU1@mid.individual.net>
In reply to#93946
Siri Cruise <chine.bleu@yahoo.com> wrote:
> In article <e271erF528fU3@mid.individual.net>,
>  Jolly Roger <jollyroger@pobox.com> wrote:
> 
>> On 2016-08-24, Siri Cruise <chine.bleu@yahoo.com> wrote:
>>> In article <npl4ic$jdp$5@news.datemas.de>, Alan Baker 
>>> <alangbaker@telus.net> 
>>> wrote:
>>> 
>>>> On 2016-08-24 2:33 PM, Happy.Hobo wrote:
>>>>> On 08-24-2016 14:38, Jolly Roger wrote:
>>>>>> Yep. You can also drag and drop the file into the terminal window for
>>>>>> the same
>>>>>> effect.
>>>>> 
>>>>> You can't drag and drop the output of 'ls' or 'find' into a later
>>>>> command without frequently encountering this "non-issue."
>>>> 
>>>> Why would you use those? Explain what you were actually doing, and I'll 
>>>> be you dollars to donuts that I can do it better.
>>> 
>>> find ~/Library -iname '*flash*' -o -iname '*swf*' 2>/dev/null
>>> rm -rf '....' '....'
>>> 
>>> Manually inspecting the found paths so I don't accidentally delete all my 
>>> flashgordon.savegames folder. Manually inserting the paths into rm -rf is 
>>> safer 
>>> from my fingers than rm -ri.
>> 
>> 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
>> 
>> Simple, and no silly copy and paste needed. Mixing command-line and GUI
>> tools is silly when you can handily do everything you want right on the
>> command line. Use the right tool for the job.
> 
> So what you're saying is I either remove Adbobe flash and Flash Gordon or I 
> remove neither.
> 
> Not exactly the point of the exercise.

Nope. 

I'll repeat: first you should refine the find command to output only the
files you actually want. If it's finding files you don't want, you need to
refine the command some more - perhaps by adding -not -name 'Gotdon', or
some other way. Once it finds only the files you want, you add the
additional -delete switch.

-- 
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

[toc] | [prev] | [next] | [standalone]


#94026

FromLewis <g.kreme@gmail.com.dontsendmecopies>
Date2016-08-25 22:35 +0000
Message-ID<slrnnrusks.km2.g.kreme@snow.local>
In reply to#93923
In message <chine.bleu-54DE94.15354324082016@news.eternal-september.org> 
  Siri Cruise <chine.bleu@yahoo.com> wrote:
> In article <npl4ic$jdp$5@news.datemas.de>, Alan Baker <alangbaker@telus.net> 
> wrote:

>> On 2016-08-24 2:33 PM, Happy.Hobo wrote:
>> > On 08-24-2016 14:38, Jolly Roger wrote:
>> >> Yep. You can also drag and drop the file into the terminal window for
>> >> the same
>> >> effect.
>> >
>> > You can't drag and drop the output of 'ls' or 'find' into a later
>> > command without frequently encountering this "non-issue."
>> 
>> Why would you use those? Explain what you were actually doing, and I'll 
>> be you dollars to donuts that I can do it better.

> find ~/Library -iname '*flash*' -o -iname '*swf*' 2>/dev/null
> rm -rf '....' '....'

Learn to use your tools? Find has a -delete flag, or you can -exec rm {}

> Manually inspecting the found paths so I don't accidentally delete all my 
> flashgordon.savegames folder.

Exclude the flashgordon files from find.


-- 
Train Station: where the train stops. Work Station: ...

[toc] | [prev] | [next] | [standalone]


#94030

FromSiri Cruise <chine.bleu@yahoo.com>
Date2016-08-25 16:07 -0700
Message-ID<chine.bleu-CC66E0.16074625082016@news.eternal-september.org>
In reply to#94026
In article <slrnnrusks.km2.g.kreme@snow.local>,
 Lewis <g.kreme@gmail.com.dontsendmecopies> wrote:

> In message <chine.bleu-54DE94.15354324082016@news.eternal-september.org> 
>   Siri Cruise <chine.bleu@yahoo.com> wrote:
> > In article <npl4ic$jdp$5@news.datemas.de>, Alan Baker 
> > <alangbaker@telus.net> 
> > wrote:
> 
> >> On 2016-08-24 2:33 PM, Happy.Hobo wrote:
> >> > On 08-24-2016 14:38, Jolly Roger wrote:
> >> >> Yep. You can also drag and drop the file into the terminal window for
> >> >> the same
> >> >> effect.
> >> >
> >> > You can't drag and drop the output of 'ls' or 'find' into a later
> >> > command without frequently encountering this "non-issue."
> >> 
> >> Why would you use those? Explain what you were actually doing, and I'll 
> >> be you dollars to donuts that I can do it better.
> 
> > find ~/Library -iname '*flash*' -o -iname '*swf*' 2>/dev/null
> > rm -rf '....' '....'
> 
> Learn to use your tools? Find has a -delete flag, or you can -exec rm {}
> 
> > Manually inspecting the found paths so I don't accidentally delete all my 
> > flashgordon.savegames folder.
> 
> Exclude the flashgordon files from find.

That's what I do by not copy/pasting them. Sorry to disappoint but spending half 
an hour fiddling with a find command is not as easy for me as looking at a dozen 
lines of output and copy/paste of the half dozen that concern me. Especially 
since I already know to paste into '...'.

If it's so many paths fine tuning find is the more efficient, you don't use 
-delete. You do something like
    find .... -exec echo rm -rf \{\} \; 2>/dev/null
You then get to see the command that will actually be executed so you can verify 
the commands and not just the paths.

You can also do something like
    find ... | sed "s/^/rm -rf '/;s/$/'/" >/tmp/s
    vi /tmp/s
        ...
    . /tmp/s

-- 
:-<> Siri Seal of Disavowal #000-001. Disavowed. Denied. Deleted.
'I desire mercy, not sacrifice.'
If you assume the final scene is a dying delusion as Tom Cruise drowns below
the Louvre, then Edge of Tomorrow has a happy ending. Kill Tom repeat..

[toc] | [prev] | [next] | [standalone]


#94031

FromJolly Roger <jollyroger@pobox.com>
Date2016-08-25 23:55 +0000
Message-ID<e29erdFn573U1@mid.individual.net>
In reply to#94030
Siri Cruise <chine.bleu@yahoo.com> wrote:
> In article <slrnnrusks.km2.g.kreme@snow.local>,
>  Lewis <g.kreme@gmail.com.dontsendmecopies> wrote:
>> 
>> Exclude the flashgordon files from find.
> 
> That's what I do by not copy/pasting them. Sorry to disappoint but spending half 
> an hour fiddling with a find command is not as easy for me as looking at a dozen 
> lines of output and copy/paste of the half dozen that concern me. Especially 
> since I already know to paste into '...'.

If it takes you longer to refine a find command than to laboriously
manually copy and paste paths into a terminal window, you have bigger
problems than the command line.

> If it's so many paths fine tuning find is the more efficient, you don't use 
> -delete. 

Bull. Run it once without the -delete switch to see the paths, then add the
switch to delete them. Simple and fast.

-- 
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

[toc] | [prev] | [next] | [standalone]


#94069

FromJF Mezei <jfmezei.spamnot@vaxination.ca>
Date2016-08-28 15:57 -0400
Message-ID<57c34245$0$51671$c3e8da3$f6268168@news.astraweb.com>
In reply to#94031
On 2016-08-25 19:55, Jolly Roger wrote:

> If it takes you longer to refine a find command than to laboriously
> manually copy and paste paths into a terminal window, you have bigger
> problems than the command line.

When you need to delete a number of iles whose filename does not match a
simple pattern, it can be much faster to just do an ls and select and rm
individual files.

This is especially important when you work with system files with
elevated provs such as sudo.

[toc] | [prev] | [next] | [standalone]


#94078

FromJolly Roger <jollyroger@pobox.com>
Date2016-08-29 01:12 +0000
Message-ID<e2hggaFknbnU3@mid.individual.net>
In reply to#94069
On 2016-08-28, JF Mezei <jfmezei.spamnot@vaxination.ca> wrote:
> On 2016-08-25 19:55, Jolly Roger wrote:
>
>> If it takes you longer to refine a find command than to laboriously
>> manually copy and paste paths into a terminal window, you have bigger
>> problems than the command line.
>
> When you need to delete a number of iles whose filename does not match a
> simple pattern, it can be much faster to just do an ls and select and rm
> individual files.

Nope. It's much faster to exclude the files you want, then pipe the
output into the next command. You're doing it wrong.

-- 
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

[toc] | [prev] | [next] | [standalone]


#94081

FromSiri Cruise <chine.bleu@yahoo.com>
Date2016-08-28 19:19 -0700
Message-ID<chine.bleu-9E8229.19191528082016@news.eternal-september.org>
In reply to#94069
In article <57c34245$0$51671$c3e8da3$f6268168@news.astraweb.com>,
 JF Mezei <jfmezei.spamnot@vaxination.ca> wrote:

> On 2016-08-25 19:55, Jolly Roger wrote:
> 
> > If it takes you longer to refine a find command than to laboriously
> > manually copy and paste paths into a terminal window, you have bigger
> > problems than the command line.
> 
> When you need to delete a number of iles whose filename does not match a
> simple pattern, it can be much faster to just do an ls and select and rm
> individual files.
> 
> This is especially important when you work with system files with
> elevated provs such as sudo.

Adobe flash scatters a few directories all around the swamplands of ~/Library 
and /Library. find searches the directory recursively. It can also find a few 
similar paths. Idiots can spend hours refining find to exclude a few paths, 
while smart people can cut and paste the few text lines, remember to quote, and 
eradicate flash in a few minutes.

Also it's kinda dangerous to do a 'sudo find /Library ... -delete' unless you 
have it backed up somewhere as well as an alternate start up disk in case you 
garble /Library too far.

-- 
:-<> Siri Seal of Disavowal #000-001. Disavowed. Denied. Deleted.
'I desire mercy, not sacrifice.'
If you assume the final scene is a dying delusion as Tom Cruise drowns below
the Louvre, then Edge of Tomorrow has a happy ending. Kill Tom repeat..

[toc] | [prev] | [next] | [standalone]


#94089

FromJolly Roger <jollyroger@pobox.com>
Date2016-08-29 06:21 +0000
Message-ID<e2i2jiFoi6iU1@mid.individual.net>
In reply to#94081
Siri Cruise <chine.bleu@yahoo.com> wrote:
> 
> Adobe flash scatters a few directories all around the swamplands of ~/Library 
> and /Library. find searches the directory recursively. It can also find a few 
> similar paths. Idiots can spend hours refining find to exclude a few paths, 
> while smart people can cut and paste the few text lines, remember to quote, and 
> eradicate flash in a few minutes.

The fact that you admit refining a find command takes you *hours*, yet you
are calling other people who do it in mere *seconds* idiots says it all.

> Also it's kinda dangerous to do a 'sudo find /Library ... -delete' 

Nope. Run the command without the -delete switch first to verify the
output, then press the up arrow, add the switch, and run it again and you
are done. Low risk, and super fast. You're doing it wrong.

-- 
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

[toc] | [prev] | [next] | [standalone]


#94032

FromLewis <g.kreme@gmail.com.dontsendmecopies>
Date2016-08-26 04:06 +0000
Message-ID<slrnnrvg28.7vp.g.kreme@snow.local>
In reply to#94030
In message <chine.bleu-CC66E0.16074625082016@news.eternal-september.org> Siri Cruise <chine.bleu@yahoo.com> wrote:
> In article <slrnnrusks.km2.g.kreme@snow.local>,
>  Lewis <g.kreme@gmail.com.dontsendmecopies> wrote:

>> In message <chine.bleu-54DE94.15354324082016@news.eternal-september.org> 
>>   Siri Cruise <chine.bleu@yahoo.com> wrote:
>> > In article <npl4ic$jdp$5@news.datemas.de>, Alan Baker 
>> > <alangbaker@telus.net> 
>> > wrote:
>> 
>> >> On 2016-08-24 2:33 PM, Happy.Hobo wrote:
>> >> > On 08-24-2016 14:38, Jolly Roger wrote:
>> >> >> Yep. You can also drag and drop the file into the terminal window for
>> >> >> the same
>> >> >> effect.
>> >> >
>> >> > You can't drag and drop the output of 'ls' or 'find' into a later
>> >> > command without frequently encountering this "non-issue."
>> >> 
>> >> Why would you use those? Explain what you were actually doing, and I'll 
>> >> be you dollars to donuts that I can do it better.
>> 
>> > find ~/Library -iname '*flash*' -o -iname '*swf*' 2>/dev/null
>> > rm -rf '....' '....'
>> 
>> Learn to use your tools? Find has a -delete flag, or you can -exec rm {}
>> 
>> > Manually inspecting the found paths so I don't accidentally delete all my 
>> > flashgordon.savegames folder.
>> 
>> Exclude the flashgordon files from find.

> That's what I do by not copy/pasting them. Sorry to disappoint but spending half 
> an hour fiddling with a find command is not as easy for me as looking at a dozen 
> lines of output and copy/paste of the half dozen that concern me. Especially 
> since I already know to paste into '...'.

Then this is probably not the tool you should be using if learning to
use it properly is too hard for you.

It is trivial to do what you need in the Finder, but you would also have
to learn how to do that, and so far learning seems to be beyond your
abilities.

find ~/Library -iname "*flash*" ! -iname "*gordon*" ...

Complicated, innit?


-- 
You know, in a world in which Bush and Blair can be nominated for the
Nobel Peace Prize, "for having dared to take the necessary decision to
launch a war on Iraq without having the support of the UN" I find myself
agreeing with Tom Lehrer: satire is dead. - Neil Gaiman

[toc] | [prev] | [next] | [standalone]


#93933

FromJolly Roger <jollyroger@pobox.com>
Date2016-08-25 01:49 +0000
Message-ID<e27152F54q0U1@mid.individual.net>
In reply to#93912
Happy.Hobo <Happy.Hobo@Spam.Invalid> wrote:
> On 08-24-2016 14:38, Jolly Roger wrote:
>> Yep. You can also drag and drop the file into the terminal window for the same
>> effect.
> 
> You can't drag and drop the output of 'ls' or 'find' into a later 
> command without frequently encountering this "non-issue."

There's no reason at all to drag and drop or copy output from one
command-line tool to another. You are either doing it wrong or you are just
trying to manufacture a problem out of thin air.

-- 
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

[toc] | [prev] | [next] | [standalone]


#93909

From"Happy.Hobo" <Happy.Hobo@Spam.Invalid>
Date2016-08-24 16:25 -0500
Message-ID<npl3bf$11rf$1@gioia.aioe.org>
In reply to#93902
On 08-24-2016 12:26, Alan Baker wrote:
> This is such a HUGE non-issue.

Oh, really?  Seems more than one person a few months ago chewed me out 
royally for recommending not putting spaces in filenames because "only 
shitty software doesn't handle them automatically."

I recommended against spaces because I am well aware that I am not the 
only one to run into this sort of thing frequently.

Yes, I should have dragged across the ninety-character filename so as 
not to copy the line-break, then after pasting in, use the arrow keys to 
space back through escaping the spaces.  Or make sure I type a quotemark 
before pasting.

Point is, I stand by my advice to avoid spaces in filenames.

[toc] | [prev] | [next] | [standalone]


#93914

FromAlan Baker <alangbaker@telus.net>
Date2016-08-24 14:43 -0700
Message-ID<npl4df$jdp$2@news.datemas.de>
In reply to#93909
On 2016-08-24 2:25 PM, Happy.Hobo wrote:
> On 08-24-2016 12:26, Alan Baker wrote:
>> This is such a HUGE non-issue.
>
> Oh, really?  Seems more than one person a few months ago chewed me out
> royally for recommending not putting spaces in filenames because "only
> shitty software doesn't handle them automatically."

And it was true.

>
> I recommended against spaces because I am well aware that I am not the
> only one to run into this sort of thing frequently.
>
> Yes, I should have dragged across the ninety-character filename so as
> not to copy the line-break, then after pasting in, use the arrow keys to
> space back through escaping the spaces.  Or make sure I type a quotemark
> before pasting.

No. You should simply have right-click on the file's icon and chosen 
"Copy"...

...as I've already explained.

Then the paste in bash would automatically have been escaped.

Aren't you paying attention?

>
> Point is, I stand by my advice to avoid spaces in filenames.

[toc] | [prev] | [next] | [standalone]


#93920

From"Happy.Hobo" <Happy.Hobo@Spam.Invalid>
Date2016-08-24 16:51 -0500
Message-ID<npl4tp$13ju$3@gioia.aioe.org>
In reply to#93914
On 08-24-2016 16:43, Alan Baker wrote:
> On 2016-08-24 2:25 PM, Happy.Hobo wrote:
>> On 08-24-2016 12:26, Alan Baker wrote:
>>> This is such a HUGE non-issue.
>>
>> Oh, really?  Seems more than one person a few months ago chewed me out
>> royally for recommending not putting spaces in filenames because "only
>> shitty software doesn't handle them automatically."
>
> And it was true.
>
>>
>> I recommended against spaces because I am well aware that I am not the
>> only one to run into this sort of thing frequently.
>>
>> Yes, I should have dragged across the ninety-character filename so as
>> not to copy the line-break, then after pasting in, use the arrow keys to
>> space back through escaping the spaces.  Or make sure I type a quotemark
>> before pasting.
>
> No. You should simply have right-click on the file's icon and chosen
> "Copy"...
>
> ...as I've already explained.
>
> Then the paste in bash would automatically have been escaped.

Tell me where in the output of 'find' was the file's icon?

> Aren't you paying attention?

Odd question from someone who answers a post without reading it.

[toc] | [prev] | [next] | [standalone]


#93928

FromAlan Baker <alangbaker@telus.net>
Date2016-08-24 16:39 -0700
Message-ID<nplb71$vp6$1@news.datemas.de>
In reply to#93920
On 2016-08-24 2:51 PM, Happy.Hobo wrote:
> On 08-24-2016 16:43, Alan Baker wrote:
>> On 2016-08-24 2:25 PM, Happy.Hobo wrote:
>>> On 08-24-2016 12:26, Alan Baker wrote:
>>>> This is such a HUGE non-issue.
>>>
>>> Oh, really?  Seems more than one person a few months ago chewed me out
>>> royally for recommending not putting spaces in filenames because "only
>>> shitty software doesn't handle them automatically."
>>
>> And it was true.
>>
>>>
>>> I recommended against spaces because I am well aware that I am not the
>>> only one to run into this sort of thing frequently.
>>>
>>> Yes, I should have dragged across the ninety-character filename so as
>>> not to copy the line-break, then after pasting in, use the arrow keys to
>>> space back through escaping the spaces.  Or make sure I type a quotemark
>>> before pasting.
>>
>> No. You should simply have right-click on the file's icon and chosen
>> "Copy"...
>>
>> ...as I've already explained.
>>
>> Then the paste in bash would automatically have been escaped.
>
> Tell me where in the output of 'find' was the file's icon?

I didn't realize you were using "'find'" to indicate the command line 
tool. Using that, there are at least two or three good ways to pass the 
results on to bash with the white space handled...

...but you won't actually tell us what you were doing, so it's hard to 
suggest any of them.

Bottom line: you were using shell tools and expected not to get shell 
behavour. That's PEBCAK if I ever saw it.

>
>> Aren't you paying attention?
>
> Odd question from someone who answers a post without reading it.

I did read it... ...you just phrased it so poorly.

Now that I've figured out (sort of) what you actually meant, why didn't 
you just use: "-exec open {}". I'd have to check the syntax to make sure 
I have it correctly, but that's the gist.

Command line tools used properly... ...imagine.

[toc] | [prev] | [next] | [standalone]


#93932

FromJolly Roger <jollyroger@pobox.com>
Date2016-08-25 01:47 +0000
Message-ID<e2710nF528fU1@mid.individual.net>
In reply to#93928
On 2016-08-24, Alan Baker <alangbaker@telus.net> wrote:
> On 2016-08-24 2:51 PM, Happy.Hobo wrote:
>> On 08-24-2016 16:43, Alan Baker wrote:
>>> On 2016-08-24 2:25 PM, Happy.Hobo wrote:
>>>
>>>> I recommended against spaces because I am well aware that I am not the
>>>> only one to run into this sort of thing frequently.
>>>>
>>>> Yes, I should have dragged across the ninety-character filename so as
>>>> not to copy the line-break, then after pasting in, use the arrow keys to
>>>> space back through escaping the spaces.  Or make sure I type a quotemark
>>>> before pasting.
>>>
>>> No. You should simply have right-click on the file's icon and chosen
>>> "Copy"...
>>>
>>> ...as I've already explained.
>>>
>>> Then the paste in bash would automatically have been escaped.
>>
>> Tell me where in the output of 'find' was the file's icon?
>
> I didn't realize you were using "'find'" to indicate the command line 
> tool. Using that, there are at least two or three good ways to pass the 
> results on to bash with the white space handled...
>
> ...but you won't actually tell us what you were doing, so it's hard to 
> suggest any of them.
>
> Bottom line: you were using shell tools and expected not to get shell 
> behavour. That's PEBCAK if I ever saw it.

Yes, there's no reason to manually copy the output of one command-line
tool and paste it as input into another command-line tool. If that's
what he's doing, he's definitely doing it wrong.

-- 
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

[toc] | [prev] | [next] | [standalone]


#93980

From"Happy.Hobo" <Happy.Hobo@Spam.Invalid>
Date2016-08-25 11:46 -0500
Message-ID<npn7d3$93q$3@gioia.aioe.org>
In reply to#93932
On 08-24-2016 20:47, Jolly Roger wrote:
> Yes, there's no reason to manually copy the output of one command-line
> tool and paste it as input into another command-line tool. If that's
> what he's doing, he's definitely doing it wrong.

It's very easy to do and usually works.

That's good enough reason for me.

It _always_ works with files I've created myself.

[toc] | [prev] | [next] | [standalone]


#93990

FromJolly Roger <jollyroger@pobox.com>
Date2016-08-25 17:11 +0000
Message-ID<e28n5kFgs93U10@mid.individual.net>
In reply to#93980
On 2016-08-25, Happy.Hobo <Happy.Hobo@Spam.Invalid> wrote:
> On 08-24-2016 20:47, Jolly Roger wrote:
>> Yes, there's no reason to manually copy the output of one command-line
>> tool and paste it as input into another command-line tool. If that's
>> what he's doing, he's definitely doing it wrong.
>
> It's very easy to do and usually works.

It's more work than doing it the right way, and often doesn't work.

> That's good enough reason for me.
>
> It _always_ works with files I've created myself.

Laziness  and ignorance aren't virtues.

-- 
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

[toc] | [prev] | [next] | [standalone]


#94001

From"Happy.Hobo" <Happy.Hobo@Spam.Invalid>
Date2016-08-25 13:28 -0500
Message-ID<npndbs$k8s$3@gioia.aioe.org>
In reply to#93990
On 08-25-2016 12:11, Jolly Roger wrote:
> Laziness  and ignorance aren't virtues.

CHOOSING to do something simple that usually works is not automatically 
lazy, and has NO correlation with ignorance.

[toc] | [prev] | [next] | [standalone]


#94006

FromAlan Baker <alangbaker@telus.net>
Date2016-08-25 11:32 -0700
Message-ID<npndkl$j5f$5@news.datemas.de>
In reply to#94001
On 2016-08-25 11:28 AM, Happy.Hobo wrote:
> On 08-25-2016 12:11, Jolly Roger wrote:
>> Laziness  and ignorance aren't virtues.
>
> CHOOSING to do something simple that usually works is not automatically
> lazy, and has NO correlation with ignorance.

Choosing to do something stupid is still doing something stupid when 
there is an easy way that ALWAYS works.

[toc] | [prev] | [next] | [standalone]


Page 7 of 8 — ← Prev page 1 2 3 4 5 6 [7] 8  Next page →

Back to top | Article view | comp.sys.mac.system


csiph-web