The documentation says that the -H and -L options conflict, however, not only do they not appear to conflict, but

fdupes -L -H dirs...

is exactly what I want to do to deduplicate certain collections of files.

Removing the following check from

debian/patches/50_bts284274_hardlinkreplace.dpatch

seems to result in the desired behaviour.

--- 50_bts284274_hardlinkreplace.dpatch 2011-11-19 14:23:28.000000000 -0500
+++ 50_bts284274_hardlinkreplace.dpatch.new     2011-11-19 14:30:54.000000000 
-0500
@@ -189,11 +189,6 @@
 +    exit(1);
 +  }
 +
-+ if (ISFLAG(flags, F_HARDLINKFILES) && ISFLAG(flags, F_CONSIDERHARDLINKS)) {
-+    errormsg("options --linkhard and --hardlinks are not compatible\n");
-+    exit(1);
-+  }
-+
    if (ISFLAG(flags, F_RECURSEAFTER)) {
firstrecurse = nonoptafter("--recurse:", argc, oldargv, argv, optind);


Yours

Joseph Maher



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to