搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Changing default storage location - how?

  • 2 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 Valso

more options

Is there a way to change the location of the default storage directory? I'm talking about ~/.mozilla/firefox/tjdaag57.default-release/storage/default which gradually fills with files from all the websites I've visited. That directory slowly increases in size and I don't want that, so I'm looking for a way to change the location where these files go.

https://i.imgur.com/EDlVyOA.png

Is there a way to change the location of the default storage directory? I'm talking about ~/.mozilla/firefox/tjdaag57.default-release/storage/default which gradually fills with files from all the websites I've visited. That directory slowly increases in size and I don't want that, so I'm looking for a way to change the location where these files go. https://i.imgur.com/EDlVyOA.png

所有回覆 (2)

more options

Best would be to move the entire profile folder to that other drive (i.e. use the Profile Manager to create a new profile and transfer personal data to the new profile). On Linux you might be able to create a symlink, but storage is very complicated and easily gets broken so best is to keep the profile in one location. Note that if you create a new profile this way that the disk cache and other temporary data stored in the secondary location will be stored in the same location.

You need to create a new folder on the other drive to be used for the profile that is exclusively used for the profile (no other files present) beforehand and use the "Choose folder" button to select this folder.

more options

Moving the profile directory is pointless bc I want the profile directory to be without these storage files when I create a backup of it. For the moment I found a way to achieve that with the command rm -rfv ~/.mozilla/firefox/[profilename].default-release/storage/default/https* but hopefully some day the developers will make a way to change the location of the storage. It would be better if they moved it to ~/.cache.