pkolaczk / fclones

Efficient Duplicate File Finder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fclones `move` ignores standard format log from `group`?

felciano opened this issue · comments

I cannot get fclones to move files produced by the group command correctly.

Here's an example, looking for unique files across two directories named archive and dir-1:

fclones group --unique --isolate ./archive ./dir-1 > uniques.log

This finds one unique JPG file in each directory:

❯ more uniques.log
# Report by fclones 0.34.0
# Timestamp: 2024-02-16 16:22:54.307 -0800
# Command: fclones group --unique --isolate ./archive ./dir-1
# Base dir: /Volumes/The Vault/fclones
# Total: 3826533 B (3.8 MB) in 2 files in 2 groups
# Redundant: 0 B (0 B) in 0 files
# Missing: 3826533 B (3.8 MB) in 2 files
00000000000000000000000000000000, 2727304 B (2.7 MB) * 1:
    /Volumes/The Vault/fclones/dir-1/D.JPG
00000000000000000000000000000000, 1099229 B (1.1 MB) * 1:
    /Volumes/The Vault/fclones/archive/C.jpg

I would now like to move these two unique files into a third directory called moved, however no files are actually moved:

❯ fclones move ./moved <uniques.log
[2024-02-16 16:31:26.582] fclones:  info: Started deduplicating
[2024-02-16 16:31:26.644] fclones:  info: Processed 0 files and reclaimed 0 B space

> 

Shouldn't this recognize the D.jpg and C.jpg files from the previous group command and move them?