Open gabrielmn opened 1 year ago
I have the same problem.
-d, --directories <DIRECTORIES>
List of directorie(s) which will be searched(absolute path)
Yet it only accepts ONE directory.
@gabrielmn
I figured it out. The --help
info is misleading/incorrect.
Rather than doing this, as the --help
info shows you to do:
czkawka dup ... --directories /home/wwalker /home/Old/wwalker
You need to do it like this:
czkawka dup ... --directories /home/wwalker --directories /home/Old/wwalker
I agree, using a separator is difficult because a lot of characters are allowed in linux.
Compared to Jdupes. All items at the end are directories.
jdupes --options "/path/to/dir1" "/path/to/dir2"
Multiple flags to add multiple directories is another solution. But the current help text is misleading. It should not be plural. It should also contain some text explaining to add multiple "-d" flags. (note this change might break user scripts using the "long-form" flag)
-d, --directory <DIRECTORY>
Add single directory which will be searched(absolute path).
Not sure if I'm doing something wrong, but I can't run czkawka dup --directories dirA dirB.
And variations with ", ' and ,
edit: This is folder structure is just for testing, in the real scenario folder A and B will not have the same parent.