czkawka icon indicating copy to clipboard operation
czkawka copied to clipboard

Location of file results_duplicates.txt

Open chryxc opened this issue 2 years ago • 5 comments

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.

chryxc avatar Jun 13 '23 10:06 chryxc

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).

Jogai avatar Aug 05 '23 06:08 Jogai

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 😕

chryxc avatar Aug 12 '23 22:08 chryxc

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)

chryxc avatar Oct 15 '23 12:10 chryxc

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

qarmin avatar Oct 15 '23 13:10 qarmin

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.

chryxc avatar Feb 25 '24 16:02 chryxc