Skip to content

--unique shows non-unique files used with -I #360

Description

@ntevenhere

Setup:

mkdir 1 2
echo apple | tee 1/a | tee 1/a_

Then run fclones group -I --unique 1 2

Result:

# Report by fclones 0.35.0
# Timestamp: 2026-08-23 19:32:02.767 +0400
# Command: fclones group -I --unique 1 2
# Base dir: /tmp/test/fclonestest
# Total: 12 B (12 B) in 2 files in 1 groups
# Redundant: 0 B (0 B) in 0 files
# Missing: 6 B (6 B) in 1 files
e367d2fdc581770b7d4ee9a03a73d2db, 6 B (6 B) * 2:
    /tmp/test/1/a
    /tmp/test/1/a_

I suppose that when fclones is used with -I (--isolate) without --uniques, it filters files in the same directory by internally marking them as unique. Adding --unique simply inverts which files are printed out.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions