Hard Link

The best solution for finding and removing duplicate files.
Post Reply
NEMOSECOND
Posts: 3
Joined: Wed Jun 08, 2016 10:56 am

Hard Link

Post by NEMOSECOND »

Duplicate Cleaner Pro 4.0.1
Windows 10 64

Hello,

When (after search) want to generate hardlinks then window like in the attachment (external - i think) appears and nothing happens.
I waited several minutes - this window is like frozen (only "calculating").
When I cliked "x" on this window - the DC windows appears: Create Hard-links (Cancelled) & 1 file(s) have been Hard-linked.
But: no hard-link has been created.

Can somebody help me with this problem.

Best Regards NEMOSECOND.
User avatar
therube
Posts: 614
Joined: Tue Jun 28, 2011 4:38 pm

Re: Hard Link

Post by therube »

Are you Copying or Hard-linking?

Worked for me, a tiny scan, single file to link.
I saw no dialog like your screenshot?
Win7 x64.

What are the circumstances of your scan.
Anything odd about it?
Locations?
Permissions?

Code: Select all

06/08/2016 07:42:59 PM
Scan complete
Total time taken: 00:00:00
5/5 files scanned (78.9 MB)
1 groups of duplicates
2 files have duplicates(22.4 MB)
Hashes calculated: 0
Quick Hashes calculated: 0
Useful Quick Hashes: 0

06/08/2016 07:43:23 PM
Hard linked: C:\TMP\SEA\FF\X\XX\browser\omni.ja -> C:\TMP\SEA\FF\X\browser\omni.ja


1 file(s) have been Hard-linked.
Total time taken: 00:00:01
Likewise a copy worked too:

Code: Select all

06/08/2016 07:52:37 PM
Scanning: Regular mode
- Same content (MD5)
- Minimum file size : 6MB
- Maximum file size : 72MB

Included: *.*
C:\TMP\SEA\FF\X\

06/08/2016 07:52:38 PM
Scan complete
Total time taken: 00:00:00
5/5 files scanned (78.9 MB)
1 groups of duplicates
2 files have duplicates(22.4 MB)
Hashes calculated: 0
Quick Hashes calculated: 0
Useful Quick Hashes: 0

06/08/2016 07:53:00 PM
Copied: C:\TMP\SEA\FF\X\XX\browser\omni.ja - > C:\TMP\SEA\FF\X\XX\youreaduplicategetoutofhere\omni.ja


1 file(s) moved/copied. Open folder to view files?
Total time taken: 00:00:00

Open folder to view files?
Not sure I was prompted on that.
Seems the folder opened automatically?
User avatar
therube
Posts: 614
Joined: Tue Jun 28, 2011 4:38 pm

Re: Hard Link

Post by therube »

Maybe something here, Extremely slow file copying / moving / deleting?

And from that, seemingly there is some sort of similar dialog (your screenshot) in Win7, yet I have never in my life seen anything like that (though I don't typically use "Windows" functionalities).
NEMOSECOND
Posts: 3
Joined: Wed Jun 08, 2016 10:56 am

Re: Hard Link

Post by NEMOSECOND »

therube wrote:Are you Copying or Hard-linking?

Worked for me, a tiny scan, single file to link.
I saw no dialog like your screenshot?
Win7 x64.

What are the circumstances of your scan.
Anything odd about it?
Locations?
Permissions?

Code: Select all

06/08/2016 07:42:59 PM
Scan complete
Total time taken: 00:00:00
5/5 files scanned (78.9 MB)
1 groups of duplicates
2 files have duplicates(22.4 MB)
Hashes calculated: 0
Quick Hashes calculated: 0
Useful Quick Hashes: 0

06/08/2016 07:43:23 PM
Hard linked: C:\TMP\SEA\FF\X\XX\browser\omni.ja -> C:\TMP\SEA\FF\X\browser\omni.ja


1 file(s) have been Hard-linked.
Total time taken: 00:00:01
Likewise a copy worked too:

Code: Select all

06/08/2016 07:52:37 PM
Scanning: Regular mode
- Same content (MD5)
- Minimum file size : 6MB
- Maximum file size : 72MB

Included: *.*
C:\TMP\SEA\FF\X\

06/08/2016 07:52:38 PM
Scan complete
Total time taken: 00:00:00
5/5 files scanned (78.9 MB)
1 groups of duplicates
2 files have duplicates(22.4 MB)
Hashes calculated: 0
Quick Hashes calculated: 0
Useful Quick Hashes: 0

06/08/2016 07:53:00 PM
Copied: C:\TMP\SEA\FF\X\XX\browser\omni.ja - > C:\TMP\SEA\FF\X\XX\youreaduplicategetoutofhere\omni.ja


1 file(s) moved/copied. Open folder to view files?
Total time taken: 00:00:00

Open folder to view files?
Not sure I was prompted on that.
Seems the folder opened automatically?
I'm Hard-Linking.

I was working on win7 with earlier version of DC - there was no problem (the problem is maybe related to win version).

There is no problem with permissions - I have tested many variants (with folder in root of drive with everyone full access and only two files, even running DC with administrative privileges, and with removable drives).

In test with more then 2 group of files (f.e. X X, Y Y Y) in log is information that "1 file(s) have been Hard-linked." (but it isn't, because of my termination of external process window [see earlier attachment]).

It seems that to make hard-link DC calls external (native in windows) procedure, but in windows 10 it malfunctioning.

Best Regards, NEMOSECOND.
NEMOSECOND
Posts: 3
Joined: Wed Jun 08, 2016 10:56 am

Re: Hard Link

Post by NEMOSECOND »

therube wrote:Maybe something here, Extremely slow file copying / moving / deleting?

And from that, seemingly there is some sort of similar dialog (your screenshot) in Win7, yet I have never in my life seen anything like that (though I don't typically use "Windows" functionalities).
The same problem occurs with two files with size 2 byte each in one folder :-)
So, rather there is not similar problem in this testing environment.
The problem is with external procedure called in windows 10 environment.

Best Regards, NEMOSECOND
User avatar
DigitalVolcano
Site Admin
Posts: 1724
Joined: Thu Jun 09, 2011 10:04 am

Re: Hard Link

Post by DigitalVolcano »

Confirmed - the hard linking in Duplicate Cleaner v4.01 isn't working in Windows 8 and 10 (freezing on first operation).

Thanks for the report - I will see if we can get a fix in for v4.0.2.
charname
Posts: 1
Joined: Wed Jun 22, 2016 6:50 am

Re: Hard Link

Post by charname »

1.
the hard link doesn't work for Duplicate Cleaner 4.0.1, the progress bar never move.
2.
there may be something wrong with hard link in win10.
i tried to use mklink /h to build hard link of some DOC files, and if i change the original files, the hard linked one will disappear.
but it works good with TXT files.
3.
would please add Symbolic link function?
it works well in win10.
rgbigel
Posts: 4
Joined: Wed Jan 29, 2014 11:47 am

Re: Hard Link

Post by rgbigel »

I also noticed that Duplicate Cleaner Pro Ver 4.0.1 does not work with the (hard) link option. However, this applies to several other programs, so I figure there could have been a change in MS Interfaces.
This is my picture on Windows 10 pro Version 14388 (aka release candicate for August 2), 64 Bit

- dupemerge (54) by Herman Schinagl shows hard links in the target dir twice for duplicates with option --list
- ln --enum by that author does show them
- windows explorer doesn's show either link target nor link count (in the details view when these columns are selected)
- windows explorer does show above data in the properties page for objects having junctions or hard links
- xyplorer doesn's show either link target nor link count (in the details view when these columns are selected)
- cmd.exe will not show the hard link attribute "L" both with dir and attrib commands
- everything.exe seems to be Junction-Aware, because it shows only one of the hardlinked files
- Nirsoft's freecommander does not show the attribute "L" (does/did it ever?)

Very probably the simple access to the file's attributes is not working, whereas programs using the MFT are (partially) working.

Don't we all love Microsoft-IT?
Rolf
User avatar
therube
Posts: 614
Joined: Tue Jun 28, 2011 4:38 pm

Re: Hard Link

Post by therube »

- everything.exe seems to be Junction-Aware, because it shows only one of the hardlinked files
See what Everything 1.4.0.713b Beta gives you.
Nirsoft's freecommander
Nirsoft makes plenty of utilities, but freecommander is not one of them.
Though he does have NTFSLinksView ;-).


Maybe there's a tidbit or so here, hardlinkshell: Frequently Asked Questions?
User avatar
DigitalVolcano
Site Admin
Posts: 1724
Joined: Thu Jun 09, 2011 10:04 am

Re: Hard Link

Post by DigitalVolcano »

Hardlinking on Windows 8/10 is fixed in v4.0.2
http://www.digitalvolcano.co.uk/dcchangelog.html
Post Reply