home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux.suse      Suse is actually not that bad      138,051 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 137,483 of 138,051   
   Malcolm to kant@have.it   
   Re: not?   
   16 Apr 22 20:51:35   
   
   From: malcolmlewis@linuxmail.org.invalid   
      
   On Sat, 16 Apr 2022 17:12:29 -0800   
   Sidney_Kotic  wrote:   
      
   > Long, long ago back when I was using DR-DOS there was a nice command   
   > that looked something like this:   
   > not *.pdf del *   
   > And everything except *.pdf went into the bit-bucket.  Basically it   
   > worked by setting the "h" attribute on the *.pdf file(s), run the   
   > command, and then removing the "h" attribute.   
   >   
   > Is there a bash utility like this?   
      
   find . -type f ! -iname "*.pdf" -delete   
      
   --   
   Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)   
   Tumbleweed 20220414 | GNOME Shell 42.0 | 5.17.2-1-default   
   HP Z440 | Xeon E5-2690 V3 X24 @ 2.60GHz | AMD RX550/Nvidia Quadro T400   
   up 3:07, 2 users, load average: 0.83, 0.58, 0.30   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca