[raspberry-vi] Tough lesson

  • From: "Michael A Ray" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "mike.ray" for DMARC)
  • To: raspberry-vi@xxxxxxxxxxxxx
  • Date: Thu, 11 Mar 2021 14:04:31 +0000

Hello,

You would think that after over thirty years of being involved with
computers professionally, and after 25 years of using Linux, I would
have learned that if I was regularly in the habit of typing:

rm *~

In a directory to get rid of nano backup files, then it is inevitable I
would one day type:

rm *

Thus it was that yesterday morning I deleted all the original source of
all blog posts for raspberryvi.org.

Never mind...

I have written a Python script and library that scrapes the articles
from online at raspberryvi.org using BeautifulSoup and re-creates the
original markdown.

Just a little checking is all that is needed to make sure each article
is as it was before.

I usually use git to initialize a git repository in any tree I am
working in, but had neglected to do so for raspberryvi.org.

Tough lesson. But hey, it was fun writing the Python scraping code.

Mike

-- 
Michael A. Ray
Analyst/Programmer
Witley, Surrey, South-east UK

"Perfection is achieved, not when there is nothing more to add, but when
there is nothing left to take away." -- A. de Saint-Exupery

https://cromarty.github.io/
http://eyesfreelinux.ninja/
http://www.raspberryvi.org/


=========================================================== 
The raspberry-vi mailing list 
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi 
Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the views and 
attitudes expressed by the subscribers to this list do not reflect those of the 
Foundation.

Mike Ray, list creator, January 2013

Other related posts: