<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><base></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><base class=""><div class=""><blockquote type="cite" class=""><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div class="">On Aug 20, 2018, at 1045 , William Parducci <<a href="mailto:bill@parducci.net" class="">bill@parducci.net</a>> wrote:</div><div class=""><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div class=""><br class=""></div><div class="">I am guessing by the urgency of your request you do not have a backup. If that is the case you are going to need to find a utility that will locate unlinked files to “undelete” them since command line deletes have no concept of Trash.</div></div></div></div></blockquote></div><div class=""><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div class=""><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div class=""><span class="Apple-tab-span" style="white-space:pre">  </span>Worth noting as well since he's running High Sierra that Time Machine does have a concept of local snapshots, even if no backup drive is attached (though it may have to be on first, I don't use TM myself since I prefer to use ZFS and rsync). If it's been less then 24 hours and is APFS formatted I'd suggest immediately entering TM and see what backups might be available if any. Worth a shot.</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>After that agreed, time to look at undelete options. Also immediately stop using your system, boot off another drive to work on it, because once stuff starts getting overwritten it's definitely gone (though I've never tried recovering from an APFS drive anyway).</div><div class=""><span class="Apple-tab-span" style="white-space:pre">    </span>And yeah, this comes up over and over forever but you need to run backups of some sort.</div><div class=""><br class=""></div><div class=""><blockquote type="cite" class=""><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div class=""><div class="">For future reference NEVER issue sudo rm -rf in a multiline command. It is just asking for stuff like this to happen.</div></div></div></blockquote></div></div></div></div></div><span class="Apple-tab-span" style="white-space:pre">     </span>The guide (and a lot of MacPorts in general I guess) is more aimed at devs and power users so it kind of assumes everyone is comfortable with the CLI and knows basic footguns, but looking at that page it might be a reasonable idea to not just tell people to run a copy-pasted multiline sudo rm -rf command. It's a dangerous enough thing and it's a low bar to not say "copy and run this" and change it to "here are a list of MacPorts' file and directory locations, delete them for a full manual removal", then leave it to users.<br class=""><div><br class=""><blockquote type="cite" class=""><div class=""><br class=""></div><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">I have not used any of these but here are some places to start:</div><div class=""><br class=""></div><div class=""><a href="https://www.cleverfiles.com/undelete-mac.html?gclid=EAIaIQobChMItpOT9-373AIVEdbACh1umQgFEAAYASAAEgJ1y_D_BwE" class="">https://www.cleverfiles.com/undelete-mac.html?gclid=EAIaIQobChMItpOT9-373AIVEdbACh1umQgFEAAYASAAEgJ1y_D_BwE</a></div><div class=""><a href="https://www.ibeesoft.com/data-recovery-software/mac-data-recovery.html" class="">https://www.ibeesoft.com/data-recovery-software/mac-data-recovery.html</a><br class=""><div class=""><br class=""></div><div class=""><div class=""><br class=""></div><div class="">b</div><div class=""><br class=""><blockquote type="cite" class=""><div class="">On Aug 20, 2018, at 7:36 AM, LEYSAN GALIULLINA via macports-users <<a href="mailto:macports-users@lists.macports.org" class="">macports-users@lists.macports.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
<div class="">HELLO! i need y'all help so much!<br class=""><div class="js-helper js-readmsg-msg"><div class=""><div id="style_15347699010000000745_BODY" class=""><div class="class_1534790279"><div class="js-readmsg-msg_mailru_css_attribute_postfix js-helper_mailru_css_attribute_postfix"><div class=""><div id="style_15347696570000000244_BODY_mailru_css_attribute_postfix" class=""><div class="class_1534779446_mailru_css_attribute_postfix"><div class="js-helper_mailru_css_attribute_postfix_mailru_css_attribute_postfix js-readmsg-msg_mailru_css_attribute_postfix_mailru_css_attribute_postfix"><div class=""><div id="style_15347691070000000718_BODY_mailru_css_attribute_postfix_mailru_css_attribute_postfix" class=""><div class="class_1534793558_mailru_css_attribute_postfix_mailru_css_attribute_postfix"><p style="margin-top: 0px;" dir="ltr" class="">
I have macOS High Sierra 10.13.6<br class="">
X Code  9.4.1<br class="">
 What i did is "2.4. Uninstall" following commands : <a href="https://guide.macports.org/chunked/installing.macports.uninstalling.html" target="_blank" rel=" noopener noreferrer" class="">https://guide.macports.org/chunked/installing.macports.uninstalling.html</a><br class="">
I did Commands which starts as:  <br class="">$ sudo rm -rf \<br class="">/opt/local \<br class="">etc.<br class="">
The problem is- i lost everything i had on my desktop, which i made and collect for years. It is real important files to me, i am DJ and now i  have nothing  to work with. Please help to fix my terrible mistake and get back everything i had (tones of music, pictures, documents,videos..etc) please! I hope it is possible! Please, say we can do it.<br class="">
Kind regards,<br class="">
Sunley</p></div></div></div></div></div></div></div></div></div></div></div></div></div></div></blockquote></div></div></div></div></div></blockquote></div><br class=""><style class=""></style><style class=""></style><style type="text/css" class=""></style></body></html>