home bbs files messages ]

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

   comp.os.linux.advocacy      Torvalds farts & fans know what he ate      164,974 messages   

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

   Message 163,805 of 164,974   
   Brock McNuggets to Gremlin   
   Re: Quick and Dirty MID pulling script   
   25 Jan 26 01:15:20   
   
   XPost: alt.computer.workshop   
   From: brock.mcnuggets@gmail.com   
      
   On Jan 24, 2026 at 5:49:53 PM MST, "Gremlin" wrote   
   :   
      
   >   
   > This script when run from console will try to pull the MID you pass via   
   > command line. It will create a new file with the same name and store the   
   > entire post if found in it. To pass the MID you'd do this:   
   >   
   > getmid 'MID with brackets' and it will save the message under the same name   
   > as the MID in the current folder you ran the command from.   
      
   Sounds similar to what I did here... except mine is done with a simple right   
   click on the MID.   
      
   https://drive.google.com/file/d/1ORLxprRjCPOqp8e-411GFZ42troQdjv   
   /view?usp=share_link   
      
   >   
   > COPY BEGIN HERE   
   > #!/bin/sh   
   >   
   > MID="$1"   
   > printf 'ARTICLE %s\r\n' "$MID" | nc -q 5 paganini.bofh.team 119 > "$MID.txt"   
   > END COPY HERE   
   >   
   > Save the contents as getmid.sh   
   > give it execute permission either via right click GUI options or at console   
   > with chmod:   
   >   
   > chmod +x getmid.sh   
   > then sudo cp getmid.sh /usr/bin/getmid   
   >   
   > Now it's available to you no matter where you are in the folders. Open a   
   > terminal, getmid 'MID' and you will have a locally saved file containing the   
   > message if one was found.   
      
   Mine is set to name the files based on MID and source. For example, if I get   
   yours from Paganini it is named:   
      
       XnsB3DEC9BC27CDBHT1[at]cF04o3ON7k2lx05.lLC.9r5_PAG.txt   
      
   Name and noting it came from Paganini (PAG).   
      
   > Useful for when HK (Howard Knight) is down. This will also pull the entire   
   > post where as HK is truncated after so many lines.   
      
      
   --   
   It's impossible for someone who is at war with themselves to be at peace with   
   you.   
      
   --- 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