Ask Your Question

How to smart clean home .sage directory?

asked 2013-05-05 01:43:46 +0100

rickhg12hs gravatar image

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?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-05-05 02:16:57 +0100

ppurka gravatar image

updated 2013-05-05 02:17:41 +0100

You can delete everything except sage_notebook.sagenb and your customized files (that is, any files that you manually modified).

edit flag offensive delete link more


Removed 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!

rickhg12hs gravatar imagerickhg12hs ( 2013-05-05 18:38:34 +0100 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2013-05-05 01:43:46 +0100

Seen: 263 times

Last updated: May 05 '13