I want to find the location of temporary files created by popcorn time so that I can stream via the chromecast player to my TV. I can find that on Windows but don't know where is it located on Mac.
In the Popcorn Time program, click the settings Cog in the top right corner to open the settings page. At the top of the SETTINGS page, checkmark SHOW ADVANCED SETTINGS. Scroll down to CACHE DIRECTORY settings. The default setting is to clear the cache folder when you close the program. Uncheck this option so that the movies you watch will stay in the temporary folder. You can click the folder icon next to the cache filename path to open the Temporary PopcornTime folder in Finder.
Start a Terminal and use
find / -name filename.abc
find is a unix command with a large set of options but basically it is
find [path...] [expression]. If you search the whole filesystem
/ you will get permission errors, use
sudo find / -name filename.abc
to avoid this. Here is its manpage.