How can i get a unique ID from file via node.js?

27 views Asked by At

I am trying to get a unique id/something from file so i can find the duplicate files.

I tried to use fs.statSync() but it doesnt seem to give a unique id.

Is there a way to get a unique something so i can compare the files?

0

There are 0 answers