<div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 19 Mar 2020 at 11:19, DrBillBass via Swlug <<a href="mailto:swlug@mailman.lug.org.uk">swlug@mailman.lug.org.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Hi team,<div dir="auto"><br></div><div dir="auto">I've recently tried to install Slack on my laptop which runs on Linux Mint Mate 19, and the instructions for Linux, using the terminal, were to type sudo apt remove slack-desktop, which I did, and then to type </div><ol style="padding-left:0px;color:rgb(69,66,69);list-style-type:none;font-family:"slack-circular-pro","applelogo",sans-serif;font-size:16px"><li style="margin-bottom:10px;line-height:24px;margin-left:40px">rm -rf ~/.config/Slack</li><li style="margin-bottom:10px;line-height:24px;margin-left:40px">I've tried this to no avail, but what has happened is that I have now lost all access to my C drive, all documents etc.</li></ol><div dir="auto"><font color="#454245" face="slack-circular-pro, applelogo, sans-serif"><span style="font-size:16px">It's ItIt's as though the Linux I now have is a new installation, with all the files on my hard drive non-existent. I've also tried restoring an earlier snapshot but that doesn't seem to help either.</span></font></div><div dir="auto"><font color="#454245" face="slack-circular-pro, applelogo, sans-serif"><span style="font-size:16px"><br></span></font></div><div dir="auto"><font color="#454245" face="slack-circular-pro, applelogo, sans-serif"><span style="font-size:16px">So, what next?</span></font></div></div></blockquote><div><br></div><div>Sadly I suspect that you may have inserted a space after the /, which will have emptied ~/ which is your home directory.  rm -rf is a horribly dangerous command and I try never to use it in this way.  I know it doesn't help you but for anyone else I would always do</div><div>cd ~/.config</div><div>rm -rf Slack</div><div>which is much less dangerous.  If that is what has happened then I am afraid there is little you can do other than wait till you can get at your backups.</div><div><br></div><div>rm -rf is even more dangerous when used with sudo, I am not even going to type the full command but if one were trying to remove /etc/somefolder for example did sudo rm followed / etc/somefolder (with an accidental space after the /) then that would erase the whole disc partition.<br></div><div><br></div><div>Colin<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div dir="auto"><font color="#454245" face="slack-circular-pro, applelogo, sans-serif"><span style="font-size:16px"><br></span></font></div><div dir="auto"><font color="#454245" face="slack-circular-pro, applelogo, sans-serif"><span style="font-size:16px">Hoping to get myself out of this mess. Fortunately, most of my files are backed up onto a drive at home (I'm not at home at the moment)</span></font></div><div dir="auto"><font color="#454245" face="slack-circular-pro, applelogo, sans-serif"><span style="font-size:16px"><br></span></font></div><div dir="auto"><font color="#454245" face="slack-circular-pro, applelogo, sans-serif"><span style="font-size:16px">Thank you 🙂</span></font></div><div dir="auto"><font color="#454245" face="slack-circular-pro, applelogo, sans-serif"><span style="font-size:16px"><br></span></font></div><div dir="auto"><font color="#454245" face="slack-circular-pro, applelogo, sans-serif"><span style="font-size:16px">Bill Thomson</span></font></div><div dir="auto"><font color="#454245" face="slack-circular-pro, applelogo, sans-serif"><span style="font-size:16px"><br></span></font></div><div dir="auto"><font color="#454245" face="slack-circular-pro, applelogo, sans-serif"><span style="font-size:16px">I</span></font></div></div>-- <br>
Swlug mailing list<br>
<a href="mailto:Swlug@mailman.lug.org.uk" target="_blank">Swlug@mailman.lug.org.uk</a><br>
<a href="https://mailman.lug.org.uk/mailman/listinfo/swlug" rel="noreferrer" target="_blank">https://mailman.lug.org.uk/mailman/listinfo/swlug</a></blockquote></div></div>