Forums

Clear cache using Bash Console

I've exceeded my free account file storage limit. Considering moving up to a paid version, but I saw on other forum posts ways to check usage across files. I noticed a lot under the .cache folder. How can I clean this up to increase storage space using the Bash console?

You can delete the entire .cache folder with the command

rm -rf ~/.cache

Be very careful to run that exactly as-is -- if you accidentally introduce a space, you could wind up wiping all of your files...

Is there anything else I might be able to do in order to reduce used storage? Just trying to install additional modules and running into the Disk Quota Exceeded error. Might be time to upgrade as I keep adding more to the project.

We have a help page for that: http://help.pythonanywhere.com/pages/DiskQuota/