hardlink command

2013-11-10 Thread Sergio Belkin
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]$

Re: hardlink command

2013-11-10 Thread Brendan Jones
On 11/10/2013 09:07 PM, Sergio Belkin wrote: hardlink -n -v -v I would look at the modification datetime. studiodesktop:/tmp $ echo test test1 (wait at least a second) studiodesktop:/tmp $ echo test test2 studiodesktop:/tmp $ hardlink -n -v -v tes* Directories 0 Objects 2 IFREG 2

Re: hardlink command

2013-11-10 Thread Jon
In my opinion the -c option is the most rational use of hardlink, except where the files are empty. In the later case touch can be used align the timestamps before you decide to combine the inode. $ touch -r test1 test2 Regards, -Jon Disnard On Sun, Nov 10, 2013 at 2:27 PM, Brendan Jones