<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">/opt/local and /Applications/MacPorts accounts for most, but by no means all of the files installed.</div><div class=""><br class=""></div><div class="">Looking through the output of the command</div><div class=""><br class=""></div><div class="">port contents installed | egrep -v '^Port.*contains:$|^ */opt/local/|^ */Applications/MacPorts/' | sort > macports_files_misc.txt</div><div class=""><br class=""></div><div class="">I see that SOME of the files in</div><div class=""><br class=""></div><div class="">/Library/Java/JavaVirtualMachines</div><div class="">/Library/LaunchAgents</div><div class="">/Library/LaunchDaemons</div><div class=""><br class=""></div><div class="">are part of ports (those are locations are used by various software) as well as probably all of</div><div class=""><br class=""></div><div class="">/Library/TeX/Distributions/.FactoryDefaults/MacPorts-TeXLive</div><div class="">/Library/TeX/Distributions/MacPorts-TeXLive.texdist</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">You should perhaps run the above command yourself and examine the resulting file; there may be other odd places used by ports you have installed and I don't.</div><div class=""><br class=""></div><div><br class=""><blockquote type="cite" class=""><div class="">On May 7, 2022, at 14:28, James Secan <<a href="mailto:james.secan@gmail.com" class="">james.secan@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Thanks, I’ll check those other items out.<br class=""><br class="">Jim<br class="">Seattle, WA<br class=""><br class=""><blockquote type="cite" class="">On May 7, 2022, at 11:24 AM, <a href="mailto:chilli.namesake@gmail.com" class="">chilli.namesake@gmail.com</a> wrote:<br class=""><br class="">Sorry I did not address your question. Though I've never tried that method, my understanding is that everything MacPorts is in /opt/local owned by root:wheel and 755, so I have always assumed, for at least a decade now, that what you intend should just work, because I've had those thoughts before as well, I just prefer to watch code build for days rather than copy a folder for a few minutes.<br class=""><br class="">I always backup macports.conf separately, along with .bash_profile (not really part of MacPorts but sourcing it keeps $PATHs how I want them).<br class=""><br class="">Also, for the system proper, I install everything that is not required to be installed in /Applications into ~/Applications, so when migrating I just copy over my user folder and then nearly all my applications are already installed.<br class=""><br class="">Which reminds me, you may have some MacPorts application builds in /Applications/MacPorts<br class=""><br class=""><br class=""><br class=""><br class=""><blockquote type="cite" class="">On May 7, 2022, at 14:10, James Secan <<a href="mailto:james.secan@gmail.com" class="">james.secan@gmail.com</a>> wrote:<br class=""><br class="">Should have mentioned I’ve already done that as my final fall-back, but I’d rather be able to get back to exactly where I was vis-a-vis MacPorts if I step on something I shouldn’t have.<br class=""><br class="">Jim<br class="">Seattle, WA<br class=""><br class=""><blockquote type="cite" class="">On May 7, 2022, at 11:00 AM, <a href="mailto:chilli.namesake@gmail.com" class="">chilli.namesake@gmail.com</a> wrote:<br class=""><br class="">May want to save a copy of output of<br class=""><br class="">port list requested<br class=""><br class="">to make it easy to restore if it all goes South. When I'm migrating, I take that list and turn it into an install script.<br class=""><br class=""><blockquote type="cite" class=""><blockquote type="cite" class="">On May 7, 2022, at 13:55, Jim Secan <<a href="mailto:james.secan@gmail.com" class="">james.secan@gmail.com</a>> wrote:<br class=""></blockquote><br class="">I’m about to embark on a major mucking-out of my MacPorts installation on an El Capitan system.  I believe that if I make a copy of /opt/local that gives me everything I need to recover if I find myself with a non-working setup after this process.  Is that right, or are there other directories I should backup as well?<br class=""><br class="">Jim<br class="">Seattle, WA<br class=""><br class=""></blockquote></blockquote><br class=""></blockquote></blockquote><br class=""><br class=""></div></div></blockquote></div><br class=""><div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div>-- <br class="">eMail:<span class="Apple-tab-span" style="white-space: pre;">                          </span><a href="mailto:rlhamil@smart.net" class="">mailto:rlhamil@smart.net</a></div><div><br class=""></div></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br class=""></body></html>