Ask Your Question
0

How to smart clean home .sage directory?

asked 11 years ago

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?

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered 11 years ago

ppurka gravatar image

updated 11 years ago

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

Preview: (hide)
link

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 ( 11 years ago )

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: 11 years ago

Seen: 345 times

Last updated: May 05 '13