Where can I find the correspondent of "temp" folder in Firefox?

If I'm right, if I play a video on Youtube, when I'm using Firefox on a Windows machine, the browser stores the video file in the temp folder. So, theoretically, I should find that video already downloaded in the temp. But I don't know how to find in Linux the correspondent of the "temp" folder. I have tried in the "etc" folder but got nothing useful. Do you have any ideas how to sort this out?

Yesterday I have been playing a video on Youtube all day long, and now I see it's gone "for copyright infringement, blah-blah", but I think the played file should be "hiding" somewhere on my system, only if I could get to it somehow... Can you help me with this?


Solution 1:

You can put about:cache in the location bar, it should display where it keeps the "temp" folder.

Solution 2:

I think you mean firefox cache folder not ubuntu temp folder.

Firefox cache folder is located in ~/.cache/mozilla/firefox/xxxxxxxx.default/cache/

Simply, go to your home folder and press cntr + h to view hidden files. Then go to the .cache/mozilla/firefox/xxxxxxxx.default/cache/ folder and search for your videos.

xxxxxxxx is a random string of characters.


A better approach is to install gnome-search-tool via terminal using this command sudo apt-get install gnome-search-tool.

Launch it via the dash, its called search for files, choose the firefox cache folder for the look in folder option.

Choose select more options and in available options choose size at least and set it at about 5Mb, thats about 5120Kb and search. Leave the name contains blank.

In the search results you will find all your videos and all you have to do is copy-paste them to another folder.

All the best.