You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following is not an issue, but a tip that can be very useful if you want to rescan files in error, without having to delete the cache and rescan all files in your library.
The following procedure is for Windows, but can easily be adapted for Linux/MacOS.
A. Activate JSON cache
Open the Czkawka interface, go to settings and check Also save cache as JSON file option, then click on Open cache folder button, which should take you to this similar directory:
The following is not an issue, but a tip that can be very useful if you want to rescan files in error, without having to delete the cache and rescan all files in your library.
The following procedure is for Windows, but can easily be adapted for Linux/MacOS.
A. Activate JSON cache
cache_similar_videos_70.json
in JSON format should appear.B. Install JQ
winget install jqlang.jq
(wait for execution to finish)jq --version
, must return a version numberC. Delete files with error from the cache
cd C:\Users\YOURNAME\AppData\Local\Qarmin\Czkawka\cache
jq --raw-output "del(.[] | select(.error != \"\"))" cache_similar_videos_70.json > cache_similar_videos_70.new.json
jq --raw-output 'del(.[] | select(.error != ""))' cache_similar_videos_70.json > cache_similar_videos_70.new.json
.new
EnJoY ! 😎
D. Tip: format JSON for easy reading
From cache folder, run the following command:
jq "." cache_similar_videos_70.json > cache_similar_videos_70.new.json
jq '.' cache_similar_videos_70.json > cache_similar_videos_70.new.json
to obtain a formatted (indented) JSON file for easy browsing in a notepad.
It would be great if such an option (rescanning/purging files with error) existed in this amazing application 😉
The text was updated successfully, but these errors were encountered: