[raspberry-vi] Re: Tough lesson

  • From: "Jean-Claude Provost" <jc.provost@xxxxxxxxxxxxxx>
  • To: <raspberry-vi@xxxxxxxxxxxxx>
  • Date: Thu, 11 Mar 2021 10:47:48 -0500

Oh, about 35 years ago (in the DOS days), I had written a stupidly simple batch 
file called kd.bat (kd for kill directory.  The idea was that, of course, I 
knew what I was doing & it would kill the current directory where I happened to 
be in when issuing the command.  Back then, saving keystrokes was of the 
essence, & I took great pride in my genious idea...  I was saying to myself ( 
to others), yeah, I'm blind, I always take more time than others to acquaint 
myself with new programs but, I have my revenge when using environments I'm 
familiar with...  My lightning speed typing & the use of clever batchfiles 
compensates for that I concluded.  

until, one day, about 2 years after my great bragging achievement, not sure 
why, I entered that command when I was..... in c:\...

It was not funny😊  Harddrives were not that fast back then, & I could hear it 
wirring as I was wondering how come the operation was taking so much time...  & 
then, the prompt came on my display... c:\.

I did not re-create that batch file😊




Cheers,

 Jean-Claude Provost

-----Original Message-----
From: raspberry-vi-bounce@xxxxxxxxxxxxx <raspberry-vi-bounce@xxxxxxxxxxxxx> On 
Behalf Of Ken Perry
Sent: Thursday, March 11, 2021 9:43 AM
To: raspberry-vi@xxxxxxxxxxxxx
Subject: [raspberry-vi] Re: Tough lesson

Wow!  I am sure we all have at least one nasty story like that.  I lost 800 meg 
once which included all my banking information for 10 years.  That was back in 
the unstable days of Linux though and while it wasn't rm it was something just 
as bad.  Glad to hear you were able to recover even if you had to come at it 
sideways.



-----Original Message-----
From: raspberry-vi-bounce@xxxxxxxxxxxxx <raspberry-vi-bounce@xxxxxxxxxxxxx> On 
Behalf Of Michael A Ray (Redacted sender "mike.ray" for DMARC)
Sent: Thursday, March 11, 2021 9:05 AM
To: raspberry-vi@xxxxxxxxxxxxx
Subject: [raspberry-vi] Tough lesson

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

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


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