hardlink command

Brendan Jones brendan.jones.it at gmail.com
Sun Nov 10 20:27:03 UTC 2013


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
Comparisons 0
Would link 0
Would save 0
studiodesktop:/tmp $ cp -rp test1 test2
studiodesktop:/tmp $ hardlink   -n -v -v tes*
Would link test1 to test2, would save 5


Directories 0
Objects 2
IFREG 2
Comparisons 1
Would link 1
Would save 4096



More information about the devel mailing list