I'm trying to work with backups and new versions of backups and I want to check if files listed in a directory are already hardlink alias to some file or if they are the last link to that content.

The objective is to go to a directory, then ask which files are the only hard link and which files are not the only hard link without having to ask every single one individually.

To ask each one individually, I could use

fsutil hardlink list

But I would have to do that 1 by 1.

Any ideas on how to do that?


I made a cmd script that solves that issue.

Most help is in the comments
If you still need help, make a question issue in the gihub repo.


Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.