bdeklerk wrote:
Feel free to add other points that we could do with this project.
A forum-post would not be the correct place for a longer-term project. Turn it into an article, and people could collaborate. You already have answers to the other questions, which leaves #3 for me;
bdeklerk wrote:
How do we check for duplicate files or directories, and remove one)
You can iterate over all files and folders, and for each item; calculate a hash (like md5) and put it in a dictionary, with the hash as the key and the path as the value. If you hit a double key, you'll know that the content of both files is the same - even if the filenames and/or timestamps on the files differ. Good luck :)
Bastard Programmer from Hell :suss: