Ask Your Question
0

How to smart clean home .sage directory?

asked 2013-05-04 18:43:46 -0500

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
1

answered 2013-05-04 19:16:57 -0500

ppurka gravatar image

updated 2013-05-04 19:17:41 -0500

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

Comments

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 11:38:34 -0500 )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

Stats

Asked: 2013-05-04 18:43:46 -0500

Seen: 91 times

Last updated: May 04 '13