You are not logged in.

#1 2024-07-28 15:52:18

860lacov
Member
Registered: 2020-05-02
Posts: 497

How to find out where a specific application saves temp data?

I started to play a little with speech note application.
I would like to know if and, if yes, where this application saves the temp data.
I tried to use du -sh on directories like /tmp ~/.cache and application directory ~/.var/.../ (it is a flatpak)

I tried to use find with a parameter to check newly created or modified files in a home directory.

I couldn't find anything, but I suspect that doesn't mean that this application do not use temp at all.

Offline

#2 2024-07-28 16:47:16

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,837

Re: How to find out where a specific application saves temp data?

strace or "ls -l /proc/$(pidof specific_application)/fd/" (the latter only helps while the file is currently opened)
Why do you assume it's using any temporary files?

Online

#3 2024-07-28 17:30:13

860lacov
Member
Registered: 2020-05-02
Posts: 497

Re: How to find out where a specific application saves temp data?

seth wrote:

strace or "ls -l /proc/$(pidof specific_application)/fd/" (the latter only helps while the file is currently opened)
Why do you assume it's using any temporary files?

I do not assume that. I was just an example (real life example). But from time to time, when I use an application that uses big files, I would like to know what is going on.
For example, some time ago I've been playing with hashcat and quite big dictionary. Before hashcat started to calculate, there was an information that it is caching the dictionary I gave.

As for the speech note. It has option to listen to the sound from the laptop microphone but it is not real time conversion. That's why I assumed that it has so write recorded files somewhere.

Last edited by 860lacov (2024-07-28 17:52:14)

Offline

Board footer

Powered by FluxBB