Disaster after cleaning [SOLVED]

Questions about applications and software
Forum rules
Before you post please read how to get help
User avatar
Pjotr
Level 21
Level 21
Posts: 13751
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Disaster after cleaning

Post by Pjotr » Thu Sep 19, 2019 9:51 am

Mysteries, mysteries.... Will they ever be solved? :wink:

At least two things are abundantly clear:

1. You did *not* get that horrible command from my website;

2. For damage limitation, you best follow the advice that rene gave you.
Tip: 10 things to do after installing Linux Mint 19.2 Tina
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

Stefano_IT
Level 2
Level 2
Posts: 69
Joined: Tue Jul 09, 2019 8:53 am
Location: Italy

Re: Disaster after cleaning

Post by Stefano_IT » Thu Sep 19, 2019 9:52 am

Does anyone know how to indicate a valid program for file recovery?

I would try to save at least the text files.
In the past I used Photorec but I never had results.
Linux Mint 18.3 Sylvia XFCE 64 bit

Stefano_IT
Level 2
Level 2
Posts: 69
Joined: Tue Jul 09, 2019 8:53 am
Location: Italy

Re: Disaster after cleaning

Post by Stefano_IT » Thu Sep 19, 2019 9:53 am

Pjotr wrote:
Thu Sep 19, 2019 9:51 am
Mysteries, mysteries.... Will they ever be solved? :wink:

At least two things are abundantly clear:

1. You did *not* get that horrible command from my website;

2. For damage limitation, you best follow the advice that rene gave you.
This is a mystery indeed! And I'm scared.
Linux Mint 18.3 Sylvia XFCE 64 bit

User avatar
Moem
Level 19
Level 19
Posts: 9553
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

Re: Disaster after cleaning

Post by Moem » Thu Sep 19, 2019 9:54 am

Stefano_IT wrote:
Thu Sep 19, 2019 9:52 am
Does anyone know how to indicate a valid program for file recovery?
viewtopic.php?f=47&t=302039#p1688197
Image

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!

rene
Level 12
Level 12
Posts: 4320
Joined: Sun Mar 27, 2016 6:58 pm

Re: Disaster after cleaning

Post by rene » Thu Sep 19, 2019 9:58 am

Well, he did say he was not fond of Photorec (part of TestDisk). I'll however add that it's the only on Linux available suit of recovery tools that tend to in fact work.

Stefano_IT
Level 2
Level 2
Posts: 69
Joined: Tue Jul 09, 2019 8:53 am
Location: Italy

Re: Disaster after cleaning

Post by Stefano_IT » Thu Sep 19, 2019 10:04 am

I'm on Photorec but I can't tell it to save the data on a different partition, it only proposes me positions on the partition I want to recover
Linux Mint 18.3 Sylvia XFCE 64 bit

User avatar
Flemur
Level 17
Level 17
Posts: 7333
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Disaster after cleaning

Post by Flemur » Thu Sep 19, 2019 10:20 am

Just so you know:

Code: Select all

rm -rfv ~ / .cache / miniature 
with the spaces is the same as doing
rm -rfv ~ = remove your entire $HOME
rm -rfv / = remove the entire OS (but you probably didn't have permission)
rm -rfv .cache = probably 'file not found'
rm -rfv / = remove the entire OS again.
rm -rfv miniature = probably 'file not found'
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?

Stefano_IT
Level 2
Level 2
Posts: 69
Joined: Tue Jul 09, 2019 8:53 am
Location: Italy

Re: Disaster after cleaning

Post by Stefano_IT » Thu Sep 19, 2019 10:27 am

Probably this story will remain a mystery to me.
I found that there was no such command on Piotr's website.
But how (and from where) I did (twice) copy / paste is inexplicable to me.
I tried to use Photorec but it recovers many files without the original name, so they are useless for me.
I tried Timeshift but it had no effect.
The question remains whether I have had a serious security problem or not (is it a hypothesis ??) or if I have become crazy and I do not notice it.
So in doubt, I format the partition. I'm just in doubt whether to reinstall Sylvia 18.3 or to try the new 19.2
Any suggestions on this?
Thanks
Linux Mint 18.3 Sylvia XFCE 64 bit

Stefano_IT
Level 2
Level 2
Posts: 69
Joined: Tue Jul 09, 2019 8:53 am
Location: Italy

Re: Disaster after cleaning

Post by Stefano_IT » Thu Sep 19, 2019 10:43 am

Flemur wrote:
Thu Sep 19, 2019 10:20 am
Just so you know:

Code: Select all

rm -rfv ~ / .cache / miniature 
with the spaces is the same as doing
rm -rfv ~ = remove your entire $HOME
rm -rfv / = remove the entire OS (but you probably didn't have permission)
rm -rfv .cache = probably 'file not found'
rm -rfv / = remove the entire OS again.
rm -rfv miniature = probably 'file not found'
I tried to run the original command (as in my first post)
In the terminal it always says permission denied and eventually warns also that it is a dangerous command.
But the first time I used it I deleted it for about a minute
Linux Mint 18.3 Sylvia XFCE 64 bit

User avatar
Moem
Level 19
Level 19
Posts: 9553
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

Re: Disaster after cleaning

Post by Moem » Thu Sep 19, 2019 10:44 am

Stefano_IT wrote:
Thu Sep 19, 2019 10:27 am
I tried to use Photorec but it recovers many files without the original name, so they are useless for me.
You said that some of the important files were text files. Recover them anyway. You can search inside the text and find the ones you need most, and rename them.
Image

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!

rene
Level 12
Level 12
Posts: 4320
Joined: Sun Mar 27, 2016 6:58 pm

Re: Disaster after cleaning

Post by rene » Thu Sep 19, 2019 10:53 am

... preferably while restoring them to, say, an external USB drive/stick you hook up for the purpose.

Stefano_IT
Level 2
Level 2
Posts: 69
Joined: Tue Jul 09, 2019 8:53 am
Location: Italy

Re: Disaster after cleaning

Post by Stefano_IT » Thu Sep 19, 2019 10:54 am

Moem wrote:
Thu Sep 19, 2019 10:44 am
Stefano_IT wrote:
Thu Sep 19, 2019 10:27 am
I tried to use Photorec but it recovers many files without the original name, so they are useless for me.
You said that some of the important files were text files. Recover them anyway. You can search inside the text and find the ones you need most, and rename them.
Thanks but when I stopped the program he had found over 5000 text files.
My files (they were from the last 2 months so about 60 txt files) each had a date and contained small expenses, events, and data about medical stuff) without the date (which was the external name of the files) are useless
Linux Mint 18.3 Sylvia XFCE 64 bit

User avatar
Lanser
Level 4
Level 4
Posts: 298
Joined: Mon Mar 08, 2010 5:12 am
Location: Salzburg Austria

Re: Disaster after cleaning

Post by Lanser » Thu Sep 19, 2019 11:29 am

Stefano. By any chance did you paste the command into google translate? Then paste the translation into your machine by mistake?

Lanser
Thinkpads:- LM19.x Mate, LMDE3, Debian 10

User avatar
Pjotr
Level 21
Level 21
Posts: 13751
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Disaster after cleaning

Post by Pjotr » Thu Sep 19, 2019 11:35 am

Lanser wrote:
Thu Sep 19, 2019 11:29 am
Stefano. By any chance did you paste the command into google translate? Then paste the translation into your machine by mistake?
That just might be the solution, indeed... At least: when translated from English to Italian, Google Translate does add the disastrous spaces. It does not explain, however, why "thumbnails" has changed to "miniature".

Finally: my apologies to Stefano_IT for my overly harsh words. I've modified some of my previous replies to make them milder. :)
Tip: 10 things to do after installing Linux Mint 19.2 Tina
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

User avatar
Lanser
Level 4
Level 4
Posts: 298
Joined: Mon Mar 08, 2010 5:12 am
Location: Salzburg Austria

Re: Disaster after cleaning

Post by Lanser » Thu Sep 19, 2019 11:41 am

A thumbnail is a miniature picture, so it's probable that a translation engine used that meaning.

Lanser
Thinkpads:- LM19.x Mate, LMDE3, Debian 10

Stefano_IT
Level 2
Level 2
Posts: 69
Joined: Tue Jul 09, 2019 8:53 am
Location: Italy

Re: Disaster after cleaning

Post by Stefano_IT » Thu Sep 19, 2019 11:58 am

Lanser wrote:
Thu Sep 19, 2019 11:41 am
A thumbnail is a miniature picture, so it's probable that a translation engine used that meaning.

Lanser

@Larser
Thanks to you and Piotr for revealing the mystery.
If you read my few messages on this forum you will discover that I don't know English and I use Google translator (even now to write) - english vs italian

I was reading the Piotr site with Chromium and as always I pressed the button in the bar (translate)
I thought I had gone crazy or that a hacker had entered my PC (or even on Piotr's site)

look at the image and the mystery is solved !
Attachments
Istantanea_2019-09-19_17-56-02.png
Linux Mint 18.3 Sylvia XFCE 64 bit

Stefano_IT
Level 2
Level 2
Posts: 69
Joined: Tue Jul 09, 2019 8:53 am
Location: Italy

Re: Disaster after cleaning

Post by Stefano_IT » Thu Sep 19, 2019 12:00 pm

As you can see in the English vs. Italian translation I made the unforgivable mistake
The command was also translated, and I was very unlucky
Linux Mint 18.3 Sylvia XFCE 64 bit

User avatar
Pjotr
Level 21
Level 21
Posts: 13751
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Disaster after cleaning

Post by Pjotr » Thu Sep 19, 2019 12:03 pm

Good that it's solved. :)

Needless to say, but for the sake of completeness: don't copy terminal commands from a translated web page any more (Google Translate or any other translation engine). :wink:

For the rest: don't worry over it. You're human; you make mistakes. That's life....
Tip: 10 things to do after installing Linux Mint 19.2 Tina
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

Stefano_IT
Level 2
Level 2
Posts: 69
Joined: Tue Jul 09, 2019 8:53 am
Location: Italy

Re: Disaster after cleaning

Post by Stefano_IT » Thu Sep 19, 2019 12:12 pm

A distraction that cost a lot of damage to my computer :-(
I had your suggestions saved on text files and periodically I used them
Today I saw that my computer was slow (new Kernel?) And I decided to do a cleaning, but I didn't use the text file with the commands (in English) copied, but I took it directly from your website
I was a victim of Google Translate ...: - /
Sorry for all the inconvenience and loss of time.

I reinstalled Mint 18.3 because on 19.2 the equalizer installs but does not appear on the menu
Linux Mint 18.3 Sylvia XFCE 64 bit

User avatar
pbear
Level 8
Level 8
Posts: 2457
Joined: Wed Jun 21, 2017 12:25 pm
Location: San Francisco

Re: Disaster after cleaning

Post by pbear » Thu Sep 19, 2019 12:53 pm

Stefano_IT wrote:
Thu Sep 19, 2019 12:12 pm
I was a victim of Google Translate ...: - /
Sorry for all the inconvenience and loss of time.
Perhaps the most important lesson to be learned from this disaster is the importance of data file backups. There are many ways to do that, e.g., Back in Time or Grsync. Timeshift is NOT suitable. Set up a mechanism for regular data backups as soon as possible. Frankly, you should have had one all along.
Time flies like an arrow. Fruit flies like a banana.
If your problem has been solved, please edit the thread title.

Post Reply

Return to “Software & Applications”