Re: Tool to compare directories and delete duplicate files from one directory
Date: Fri, 05 May 2023 07:49:08 UTC
Anno domini 2023 Thu, 4 May 22:56:04 +0100 Kaya Saman scripsit: > [...] > But*, what happens when you have thousands of files? Why don't you simply use "rdfind"? Nik > > > The man page at the top suggests compare file1 and file2, not dir1 and > dir2 which is what I am looking for: > > > NAME > cmp – compare two files > > SYNOPSIS > cmp [-l | -s | -x] [-bhz] [--ignore-initial=num1[:num2]] [--bytes=num] > file1 file2 [skip1 [skip2]] > > > If it did that I would definitely say it's what I'm looking for. > > > I need to compare the files within: > > > /dir > > /dir_1 > > /dir_2 > > /dir_3 > > > where /dir_(x) are directories that have been merged into /dir.... > > > > -- Please do not email me anything that you are not comfortable also sharing with the NSA, CIA ...