I've found the interesting tool hardlink, supposedly it scans directories looking for duplicates files and eventually can consolidate them using hardlinks Well it doesn't work for me, eg:
[sergio@madryn tmp]$ ls /tmp/test1 /tmp/test2 /tmp/test1: alpha /tmp/test2: alpha [sergio@madryn tmp]$ hardlink -n -v -v /tmp/ Directories 11 Objects 25 IFREG 9 Comparisons 0 Would link 0 Would save 0 Only it works if I use the -c option: [sergio@madryn tmp]$ hardlink -c -v -v /tmp/ Linked /tmp//alpha to /tmp//examples/alpha, saved 12 Linked /tmp//test1/alpha to /tmp//test2/alpha, saved 558 Directories 11 Objects 25 IFREG 9 Comparisons 2 Linked 2 saved 8192 [sergio@madryn tmp]$ ls -i /tmp/test1 /tmp/test2 /tmp/test1: 46798 alpha /tmp/test2: 46798 alpha Please tell me if it happens you the same, so I report the bug, don't I? OS and pkg Data: [sergio@madryn tmp]$ cat /etc/redhat-release Fedora release 19 (Schrödinger’s Cat) [sergio@madryn tmp]$ rpm -q hardlink hardlink-1.0-17.fc19.x86_64 Thanks in advance -- -- Sergio Belkin http://www.sergiobelkin.com Watch More TV http://sebelk.blogspot.com LPIC-2 Certified - http://www.lpi.org -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct