There is rudimentary and possibly dangerous support for removing data via the API, but beware this has probably had very little testing.
Other than that, you can safely at any time remove the *.rec files under <STORAGE>/rec/<user>/<device>/. These are named YYYYMM.rec and can easily be identified.
Hello wbk
Many thanks for the reply!
I started looking for the storage path, and from what I found, I believe it to be /var/spool/owntracks/recorder/store. So I cd to this path, but couldn’t find any rec folder unfortunately. I started looking around at the documentation on their github repo and bumped into the bit about the ocat cmd line tool. So I played a bit with it and saw it does not find any info on any of the users/devices I have. Moreover, ocat --list returned the following:
{“error”:“Cannot open requested directory”}
Any ideas what am I doing wrong? Or where should I look?
And again, thanks for the help!!
I think you may have to re-read that section. The intry that mentions /var/spool/.... is meant as an example of how to write entries in the configuration file.
The configuration file itself is mentioned as being placed in /etc by default.
A blunt force approach to finding something, would be the command locate. It is not installed by default;
In spirit of Yunohost, I expect the tracks to be saved either in a subdirectory under the users own directory at /home/srohde/ or in an owntrack subdirectory under /home/yunohost.app.
In what context did you run that command? Which user? sudo ocat --list may return better results.
Great stuff!!
Thanks a lot for your help- highly appreciated
After following your instructions to install locate I ran locate owntrack | grep -E '\.rec |\.rec$' and that gave me directly the location of my rec files and fro there deleting them was easy