Location of file results_duplicates.txt
Hi,
I compiled czkawka myself for Apple M1 and tried to store all found duplicates in a file via the "save" button. It seems to store it somewhere "Saved results to file results_duplicates.txt", but I couldn't find this file on the drive. Also I didn't see the default location mentioned in the description on github or settings of czkawka. The only workaround I found is to copy the corresponding lines from a file in the Caches folder.
It writes it to the home directory.
What I want to know is, can this be reused as cache? I closed the program after hours of scanning, but to scan again would take the same amount of time again (roughly, since I did delete a lot of duplicates in the meantime).
That's where I looked first, just tested again: No such file in my home folder (also no hidden one) on macOS I also searched a file with that name via Finder, no results 😕
With the latest update to version 6.1.0 I get the following error when trying to save the results: Failed to save results to file Read-only file system (os error 30)
It save files into current path
If app works, when current dir is:
/home/user
It will try to write files into
/home/user/dupliactes*.txt
so changing current folder will change location where files are written.
From CLI changing this is quite simple
cd /any/folder;
czkawka_gui
this will save results into /any/folder
The new update 7.0.0 helps to understand the problem, as I get the error Failed to save results to folder /, reason Read-only file system (os error 30). As I compiled the GUI as native macOS .app bundle, the folder from which it gets executed seems to be the root one, so it would be cool to add the possibility to change the folder for saving results independently from the execution path.