DEV Community

Discussion on: How to use Node.js to backup your personal files (and learn some webdev skills along the way)

Collapse
 
alexeagleson profile image
Alex Eagleson

That's a REALLY good idea. If I get a chance in the next couple of days I'll definitely add that as en extra section, thank you!

Collapse
 
manomite profile image
Adeyeye George

Instead of hashing which might consume more memory, why not just create a txt file and place the file path and names inside...

Then when checking just compare the file path and name. This will also prevent you from using lock to lock a file too