Repository navigation
czkawka_cli: How to use the results.txt #2084
|
I scanned a rather large collection of files using this command: Then I checked the results in the terminal log and in the resulting files to confirm that only the files I expected to be duplicates are present. Then I wanted to do the "next step" and delete the duplicates. I scrolled through the instructions, but couldn't find a way to tell czkawka to reuse the already processed |
Replies: 1 comment 1 reply
|
You didn't miss an import option. Since czkawka_cli dup -r /mnt/mymedia -d /mnt/disk/usb/ -D AEN -QThen, once the preview matches what you expect, you can use the same scan with the deletion strategy you want; So yes: if you specifically want to act on the already-written |
You didn't miss an import option.
-f/--file-to-saveis an output-only option; the CLI doesn't currently read a previousresults.txtback in as a deletion plan.Since
/mnt/mymediais your reference directory, it is protected from deletion. The intended flow is to run the duplicate scan again with the same directories and a delete method. I'd preview it first:Then, once the preview matches what you expect, you can use the same scan with the deletion strategy you want;
-ymoves selected files to trash instead of permanently deleting them.So yes: if you specifically want to act on the already-written
results.txtwithout rescanning,…