ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sun, 05 May 2013 18:38:34 +0200How to smart clean home .sage directory?https://ask.sagemath.org/question/10091/how-to-smart-clean-home-sage-directory/I've upgraded my OS (Fedora) and Sage several times, changed host names, etc., and now my ~/.sage directory takes up 161 MBytes and has over 11,000 files. I know there are several things I want to keep, like e.g., the notebook worksheets, but I'm sure there's lots of stuff that can be deleted (temporary files?).
Is there a ~/.sage cleaner or a way to know for sure which of these files can be safely deleted since they will never be used again?Sun, 05 May 2013 01:43:46 +0200https://ask.sagemath.org/question/10091/how-to-smart-clean-home-sage-directory/Answer by ppurka for <p>I've upgraded my OS (Fedora) and Sage several times, changed host names, etc., and now my ~/.sage directory takes up 161 MBytes and has over 11,000 files. I know there are several things I want to keep, like e.g., the notebook worksheets, but I'm sure there's lots of stuff that can be deleted (temporary files?).</p>
<p>Is there a ~/.sage cleaner or a way to know for sure which of these files can be safely deleted since they will never be used again?</p>
https://ask.sagemath.org/question/10091/how-to-smart-clean-home-sage-directory/?answer=14883#post-id-14883You can delete everything except `sage_notebook.sagenb` and your customized files (that is, any files that you manually modified).Sun, 05 May 2013 02:16:57 +0200https://ask.sagemath.org/question/10091/how-to-smart-clean-home-sage-directory/?answer=14883#post-id-14883Comment by rickhg12hs for <p>You can delete everything except <code>sage_notebook.sagenb</code> and your customized files (that is, any files that you manually modified).</p>
https://ask.sagemath.org/question/10091/how-to-smart-clean-home-sage-directory/?comment=17766#post-id-17766Removed everything except sage_notebook.sagenb and now have about 2MBytes and fewer than 200 files (likely all my notebook stuff). Ran commandline and notebook sage a few times and everything seems fine! Thanks!Sun, 05 May 2013 18:38:34 +0200https://ask.sagemath.org/question/10091/how-to-smart-clean-home-sage-directory/?comment=17766#post-id-17766