Join the Mozilla’s Test Days event from 9–15 Jan to test the new Firefox address bar on Firefox Beta 135 and get a chance to win Mozilla swag vouchers! 🎁

Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Changing default storage location - how?

  • 2 réponses
  • 1 a ce problème
  • 1 vue
  • Dernière réponse par Valso

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

Toutes les réponses (2)

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.

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.