pkolaczk / fclones

Efficient Duplicate File Finder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fclones remove deleting items in --keep-path

danlamanna opened this issue · comments

fclones --version
# fclones 0.32.1

mkdir ~/test ~/test/bar
cd ~/test
echo 'foo' > foo
echo 'foo' > bar/foo

fclones group -o dupes.txt .
cat dupes.txt | fclones remove --keep-path ~/test/bar --dry-run
# outputs rm ~/test/bar/foo

I used ~ in the example for an easier reproducer, but this happens with absolute specified paths as well. I swear I've used this feature successfully before, so I'm not sure what's going on here. The only warning I get is about running on ZFS.

I see now it's a pattern 🤦‍♂️, the README made it clear. Sorry for the noise.