pappaq Posted January 21, 2022 Share Posted January 21, 2022 Hey there, I hope I am at the right place for this question. My question is: I need a script that compares two folders and deletes the duplicates in the second folder. This only needs to happen at folder level. /mnt/user/temp/folder1/... /mnt/user/temp/folder2/... <-- delete duplicate folders and files in the folders I don't trust myself to do it, since it involves deleting possibly thousands of folders. Could anybody help me, please? cheers Quote Link to comment
pappaq Posted January 29, 2022 Author Share Posted January 29, 2022 Does really nobody got a clue? I've searched many sites but can't figure out a good and safe way to do it. Bump Quote Link to comment
hernandito Posted January 31, 2022 Share Posted January 31, 2022 Script sounds quite risky if you don’t know what you are doing. Have you looked at: Quote Link to comment
PSYCHOPATHiO Posted January 31, 2022 Share Posted January 31, 2022 2 hours ago, hernandito said: Script sounds quite risky if you don’t know what you are doing. Have you looked at: I use DupGuru to manually do that from time to time for my data hoarding direcotry Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.