Package: fdupes
Version: 1.50-PR2-3
Severity: wishlist

Dear Maintainer,
   * What led up to the situation?
        Wanted to do: fdupes -H -L
   * What was the outcome of this action?
        fdupes: options --linkhard and --hardlinks are not compatible
   * What outcome did you expect instead?
        Does what I asked of it.

The only way to achieve the desired result is to run fdupes --linkhard 
multiple times (until it stops merging hardlinked groups of files)

This is impractical for large directories.

For example: if I run
mkdir -p test/a test/b
echo "blah" >test/a/a
echo "blah" >test/b/a
ln test/a/a test/a/b
ln test/b/a test/b/b
# now a/a and a/b share 1 inode and b/a, b/b share one inode
fdupes -r -L test
# now a/a a/b and b/b share 1 inode but b/a is all by itself
fdupes -r -L test
# now they all share 1 inode, the desired result


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.0.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages fdupes depends on:
ii  libc6  2.13-21

fdupes recommends no packages.

fdupes suggests no packages.

-- no debconf information

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to