Filebot hasn't been hardlinking

Support for Windows users
Post Reply
koboldtime
Posts: 1
Joined: 20 Apr 2025, 03:21

Filebot hasn't been hardlinking

Post by koboldtime »

Hello, I've been using filebot gui to move and rename files, unfortnally I just realized it hasn't been hardlinking them despite the gui indicating it is hardlinking. I'm moving things within the same drive (E:/dump to E:/media/...) so I'm really not sure what is wrong. Anyone have any idea what I did wrong?
User avatar
rednoah
The Source
Posts: 24009
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Filebot hasn't been hardlinking

Post by rednoah »

koboldtime wrote: 20 Apr 2025, 03:25 I just realized it hasn't been hardlinking them despite the gui indicating it is hardlinking
:?: How did you realize this? How did you confirm that the hardlink operation failed or otherwise didn't do what you wanted it to do?


:idea: If you select Hardlink then FileBot will use a hardlink operation and that operation will either succeed or fail, and there is no in between since the operation is atomic. If you did not get an error, then the files were almost certainly hardlinked successfully.


:idea: You can use the {f.linkCount} and the {f.key} binding for debugging purposes to print the link count and the file key for each file path, so that you can see which files have been hardlinked. If the file key is the same for two files, then those two files are in fact the same file at different file paths:

Shell: Select all

filebot -mediainfo -r "E:/dump" "E:/media" --format "{f.linkCount} {f.key} {f}"
:idea: Please read the FAQ and How to Request Help.
User avatar
rednoah
The Source
Posts: 24009
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Filebot hasn't been hardlinking

Post by rednoah »

:?: Did you figure it out? What were your findings?
:idea: Please read the FAQ and How to Request Help.
Post Reply